Documentation ¶
Index ¶
- Constants
- type Logger
- func (l *Logger) Debug(msg ...interface{})
- func (l *Logger) Error(msg ...interface{})
- func (l *Logger) Fatal(msg ...interface{})
- func (l *Logger) Info(msg ...interface{})
- func (l *Logger) Panic(msg ...interface{})
- func (l *Logger) ReloadWithWriter(w io.Writer)
- func (l *Logger) Sync() error
- func (l *Logger) Warn(msg ...interface{})
Constants ¶
View Source
const ( LogConsoleEncoderName = "console" LogJSONEncoderName = "json" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) ReloadWithWriter ¶
ReloadWithWriter recreates the logger with a new writer
Click to show internal directories.
Click to hide internal directories.