Documentation
¶
Index ¶
Constants ¶
View Source
const ( LOGLEVEL_SILENT = -1 LOGLEVEL_FATAL = iota LOGLEVEL_ALERT LOGLEVEL_ERROR LOGLEVEL_WARN LOGLEVEL_CONFIG LOGLEVEL_INFO LOGLEVEL_DEBUG NR_LOGLEVELS )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Debug(v ...interface{})
Debugf(format string, v ...interface{})
Info(v ...interface{})
Infof(format string, v ...interface{})
Config(v ...interface{})
Configf(format string, v ...interface{})
Warn(v ...interface{})
Warnf(format string, v ...interface{})
Error(v ...interface{})
Errorf(format string, v ...interface{})
Alert(v ...interface{})
Alertf(format string, v ...interface{})
Fatal(v ...interface{})
Fatalf(format string, v ...interface{})
}
func MultiLogger ¶
Click to show internal directories.
Click to hide internal directories.