Documentation
¶
Index ¶
- func SetDefaultLevel(level string)
- type Level
- type Logger
- func (l *Logger) Debug(format string, args ...interface{})
- func (l *Logger) Error(format string, args ...interface{})
- func (l *Logger) Info(format string, args ...interface{})
- func (l *Logger) SetLevel(level string)
- func (l *Logger) SetOutput(w io.Writer)
- func (l *Logger) Warn(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultLevel ¶
func SetDefaultLevel(level string)
SetDefaultLevel sets the level of the default logger
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger represents a structured logger
Click to show internal directories.
Click to hide internal directories.