Documentation ¶
Index ¶
- type Logger
- func (l *Logger) Debug(args ...interface{})
- func (l *Logger) Debugf(template string, args ...interface{})
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) Errorf(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 Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger is a logger abstraction meant to not be tied to an specific implementation
func (*Logger) Debug ¶
func (l *Logger) Debug(args ...interface{})
Debug logs a message in debug level
func (*Logger) Error ¶
func (l *Logger) Error(args ...interface{})
Error logs a message in error level
Click to show internal directories.
Click to hide internal directories.