Documentation
¶
Index ¶
Constants ¶
View Source
const ( LOG_LEVEL_SILENT = iota LOG_LEVEL_ERROR LOG_LEVEL_INFO LOG_LEVEL_DEBUG )
Variables ¶
View Source
var BlackholeBackend blackholeBackend
View Source
var DebugLog *log.Logger
View Source
var ErrorLog *log.Logger
View Source
var Log *log.Logger
Functions ¶
func CreateStdioBackend ¶
func CreateStdioBackend(prefix string) stdioBackend
func CreateSyslogBackend ¶
func Start ¶
func Start(backend LoggingBackend, level uint)
Types ¶
Click to show internal directories.
Click to hide internal directories.