Documentation ¶
Overview ¶
Package logger defines interface for logging. Implementation should be passed by user. Also provides NoOp (do-nothing) and Std (redirect to std log) predefined loggers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoOp = Func(func(format string, args ...interface{}) {})
NoOp logger
View Source
var Std = Func(func(format string, args ...interface{}) { log.Printf(format, args...) })
Std logger sends to std default logger directly
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.