Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DebugEnabled is true if debug messages should be sent. DebugEnabled bool // TraceEnabled is true if messages should be traced. TraceEnabled bool )
Functions ¶
Types ¶
type LoggerType ¶
type LoggerType interface { Trace(interface{}) Debug(interface{}) Info(interface{}) Warn(interface{}) Error(interface{}) }
LoggerType is the type required by the Logger variable.
var Logger LoggerType = defaultLogger{}
Logger is the default logger called. You can set it to redirect logs to other places.
Click to show internal directories.
Click to hide internal directories.