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
Click to show internal directories.
Click to hide internal directories.