Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { // Emergency: system is unusable Emergencyf(f string, v ...interface{}) // Alert: action must be taken immediately Alertf(f string, v ...interface{}) // Critical: critical conditions Criticalf(f string, v ...interface{}) // Error: error conditions Errorf(f string, v ...interface{}) // Warning: warning conditions Warningf(f string, v ...interface{}) // Notice: normal but significant condition Noticef(f string, v ...interface{}) // Informational: informational messages Informationalf(f string, v ...interface{}) // Debug: debug-level messages Debugf(f string, v ...interface{}) }
Logger is the interface that wraps the basic Logging methods.
Logger follows the Syslog Message Severities in RFC5424.
Click to show internal directories.
Click to hide internal directories.