Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultHandler = NewHandler(os.Stderr, LevelInfo)
DefaultHandler is the default handler
View Source
var DefaultLogger = NewLoggerWithHandler(DefaultHandler)
DefaultLogger is the default logger
Functions ¶
Types ¶
type Level ¶
Level is the logging level.
type Logger ¶
Logger is a wrapper around jour.Handler.
func FromContext ¶
FromContext returns the Logger associated with ctx, or the default Logger.
func NewLoggerWithHandler ¶
NewLoggerWithHandler returns a new Logger with give Handler
Source Files
¶
Click to show internal directories.
Click to hide internal directories.