Documentation ¶
Index ¶
- Constants
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func Output(calldepth int, level int, message string)
- func Verbose(v ...interface{})
- func Verbosef(format string, v ...interface{})
- func Warning(v ...interface{})
- func Warningf(format string, v ...interface{})
- type Logger
- func (l *Logger) Debug(v ...interface{})
- func (l *Logger) Debugf(format string, v ...interface{})
- func (l *Logger) Error(v ...interface{})
- func (l *Logger) Errorf(format string, v ...interface{})
- func (l *Logger) Fatal(v ...interface{})
- func (l *Logger) Fatalf(format string, v ...interface{})
- func (l *Logger) Info(v ...interface{})
- func (l *Logger) Infof(format string, v ...interface{})
- func (l *Logger) Output(calldepth int, level int, s string)
- func (l *Logger) ParseOutput(output, tag string) error
- func (l *Logger) SetLevel(level int)
- func (l *Logger) SetOutput(out io.Writer)
- func (l *Logger) Verbose(v ...interface{})
- func (l *Logger) Verbosef(format string, v ...interface{})
- func (l *Logger) Warning(v ...interface{})
- func (l *Logger) Warningf(format string, v ...interface{})
Constants ¶
View Source
const ( LevelVerbose = iota LevelDebug LevelInfo LevelWarning LevelError LevelFatal LevelSilence )
View Source
const ISO8601Milli = "2006-01-02T15:04:05.000Z07:00"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) ParseOutput ¶
Click to show internal directories.
Click to hide internal directories.