Documentation
¶
Overview ¶
Package log provides provides a minimal interface for structured logging
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { Debug(keyvals ...interface{}) Info(keyvals ...interface{}) Error(keyvals ...interface{}) Warn(keyvals ...interface{}) Crit(keyvals ...interface{}) With(keyvals ...interface{}) Logger }
Logger provides provides a minimal interface for structured logging It supplies leveled logging function which create a log event from keyvals, a variadic sequence of alternating keys and values.
func NewLogfmtLogger ¶
NewLogfmtLogger returns a LogfmtLogger Logger
Click to show internal directories.
Click to hide internal directories.