Documentation ¶
Index ¶
Constants ¶
View Source
const Format = "2006-01-02 15:04:05"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Trace(a ...interface{}) Tracef(format string, a ...interface{}) Debug(a ...interface{}) Debugf(format string, a ...interface{}) Info(a ...interface{}) Infof(format string, a ...interface{}) Warn(a ...interface{}) Warnf(format string, a ...interface{}) Warning(a ...interface{}) Warningf(format string, a ...interface{}) Error(a ...interface{}) Errorf(format string, a ...interface{}) Fatal(a ...interface{}) Fatalf(format string, a ...interface{}) SetOutput(w io.Writer) // Clone provides a semantic copy of the current instance of the Logger such // that it can be used independently but with the same configuration. This // may useful for sub-processes. Clone() Logger // Output returns the io.Writer used in the Logger's underlying implementation Output() io.Writer // Level returns the current log level Level() string }
Click to show internal directories.
Click to hide internal directories.