Documentation
¶
Overview ¶
Pacakge log is embedded (not imported) from https://github.com/jessepeterson/go-log
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 returns a new nested Logger. // Usually for adding logging additional context to an existing logger. With(...interface{}) Logger }
Logger is a generic logging interface for a structured, levelled, nest-able logger.
Directories
¶
Path | Synopsis |
---|---|
Package ctxlog allows logging of key-value pairs stored with a context.
|
Package ctxlog allows logging of key-value pairs stored with a context. |
Package stdlogfmt adapts a NanoLIB Logger to the Golang standard library log package.
|
Package stdlogfmt adapts a NanoLIB Logger to the Golang standard library log package. |
Click to show internal directories.
Click to hide internal directories.