Documentation ¶
Index ¶
- func Debug(a ...interface{})
- func Debugf(f string, a ...interface{})
- func Error(a ...interface{})
- func Errorf(f string, a ...interface{})
- func Info(a ...interface{})
- func Infof(f string, a ...interface{})
- func Warn(a ...interface{})
- func Warnf(f string, a ...interface{})
- type DefaultLog
- func (*DefaultLog) Debug(a ...interface{})
- func (*DefaultLog) Debugf(f string, a ...interface{})
- func (*DefaultLog) Error(a ...interface{})
- func (*DefaultLog) Errorf(f string, a ...interface{})
- func (*DefaultLog) Info(a ...interface{})
- func (*DefaultLog) Infof(f string, a ...interface{})
- func (*DefaultLog) Warn(a ...interface{})
- func (*DefaultLog) Warnf(f string, a ...interface{})
- type Logger
- func (l *Logger) Debug(v ...interface{})
- func (l *Logger) Debugf(f string, v ...interface{})
- func (l *Logger) Error(v ...interface{})
- func (l *Logger) Errorf(f string, v ...interface{})
- func (l *Logger) Info(v ...interface{})
- func (l *Logger) Infof(f string, v ...interface{})
- func (l *Logger) Warn(v ...interface{})
- func (l *Logger) Warnf(f string, v ...interface{})
- type SimpleLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultLog ¶
type DefaultLog struct{}
DefaultLog provides a default implementation of the Logger interface.
func (*DefaultLog) Debug ¶
func (*DefaultLog) Debug(a ...interface{})
func (*DefaultLog) Debugf ¶
func (*DefaultLog) Debugf(f string, a ...interface{})
func (*DefaultLog) Error ¶
func (*DefaultLog) Error(a ...interface{})
func (*DefaultLog) Errorf ¶
func (*DefaultLog) Errorf(f string, a ...interface{})
func (*DefaultLog) Info ¶
func (*DefaultLog) Info(a ...interface{})
func (*DefaultLog) Infof ¶
func (*DefaultLog) Infof(f string, a ...interface{})
func (*DefaultLog) Warn ¶
func (*DefaultLog) Warn(a ...interface{})
func (*DefaultLog) Warnf ¶
func (*DefaultLog) Warnf(f string, a ...interface{})
type SimpleLogger ¶
type SimpleLogger interface { // Log with level ERROR Error(...interface{}) // Log formatted messages with level ERROR Errorf(string, ...interface{}) // Log with level WARN Warn(...interface{}) // Log formatted messages with level WARN Warnf(string, ...interface{}) // Log with level INFO Info(...interface{}) // Log formatted messages with level INFO Infof(string, ...interface{}) // Log with level DEBUG Debug(...interface{}) // Log formatted messages with level DEBUG Debugf(string, ...interface{}) }
Logger instances provide custom logging.
Click to show internal directories.
Click to hide internal directories.