Documentation
¶
Index ¶
- type Interface
- type Logger
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) Errorf(template string, args ...interface{})
- func (l *Logger) Fatal(args ...interface{})
- func (l *Logger) Fatalf(template string, args ...interface{})
- func (l *Logger) Info(args ...interface{})
- func (l *Logger) Infof(template string, args ...interface{})
- func (l *Logger) Warn(args ...interface{})
- func (l *Logger) Warnf(template string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // Info prints info message. Info(args ...interface{}) // Infof prints formatted info message. Infof(template string, args ...interface{}) // Warn prints warning message. Warn(args ...interface{}) // Warnf prints formatted warning message. Warnf(template string, args ...interface{}) // Error prints error message. Error(args ...interface{}) // Errorf prints formatted error message. Errorf(template string, args ...interface{}) // Fatal prints fatal message and calls os.Exit. Fatal(args ...interface{}) // Fatalf prints formatted fatal message and calls os.Exit. Fatalf(template string, args ...interface{}) }
Interface describes logger API.
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger default implementation of logging.Interface.
Click to show internal directories.
Click to hide internal directories.