Documentation ¶
Index ¶
- Constants
- func SetLevelAndFormat(l Level, formatter log.Formatter)
- func SetOutput(writer io.Writer)
- type Level
- type Logger
- func (l *Logger) Debug(args ...interface{})
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Info(args ...interface{})
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) Printf(format string, args ...interface{})
- func (l *Logger) SetLevel(level Level)
- func (l *Logger) SetOutput(output io.Writer)
- func (l *Logger) Warn(args ...interface{})
Constants ¶
View Source
const ( PanicLevel = iota FatalLevel ErrorLevel WarnLevel InfoLevel DebugLevel TraceLevel )
Variables ¶
This section is empty.
Functions ¶
func SetLevelAndFormat ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.