Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NopLogger = &nopLogger{}
NopLogger is a Logger that does nothing
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { // Info logs using the info level Info(...interface{}) // Debug logs using the debug level Debug(...interface{}) // With nests the Logger // Usually for adding logging context to a sub-logger With(...interface{}) Logger }
Logger is a generic logging interface to a structured, leveled, nest-able logger
Directories ¶
Path | Synopsis |
---|---|
Package ctxlog allows logging data stored with a context.
|
Package ctxlog allows logging data stored with a context. |
Package logkeys defines some static logging keys for consistent structured logging output.
|
Package logkeys defines some static logging keys for consistent structured logging output. |
Click to show internal directories.
Click to hide internal directories.