Documentation ¶
Index ¶
- type DefaultLogger
- func (l *DefaultLogger) Debug(msg string, fields Fields)
- func (l *DefaultLogger) Error(msg string, fields Fields)
- func (l *DefaultLogger) Fatal(msg string, fields Fields)
- func (l *DefaultLogger) GetLevel() LogLevel
- func (l *DefaultLogger) Info(msg string, fields Fields)
- func (l *DefaultLogger) Panic(msg string, fields Fields)
- func (l *DefaultLogger) SetLevel(level LogLevel)
- func (l *DefaultLogger) Warn(msg string, fields Fields)
- type Fields
- type LogLevel
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultLogger ¶
type DefaultLogger struct {
// contains filtered or unexported fields
}
func NewDefaultLogger ¶
func NewDefaultLogger() *DefaultLogger
func (*DefaultLogger) Debug ¶
func (l *DefaultLogger) Debug(msg string, fields Fields)
func (*DefaultLogger) Error ¶
func (l *DefaultLogger) Error(msg string, fields Fields)
func (*DefaultLogger) Fatal ¶
func (l *DefaultLogger) Fatal(msg string, fields Fields)
func (*DefaultLogger) GetLevel ¶
func (l *DefaultLogger) GetLevel() LogLevel
func (*DefaultLogger) Info ¶
func (l *DefaultLogger) Info(msg string, fields Fields)
func (*DefaultLogger) Panic ¶
func (l *DefaultLogger) Panic(msg string, fields Fields)
func (*DefaultLogger) SetLevel ¶
func (l *DefaultLogger) SetLevel(level LogLevel)
func (*DefaultLogger) Warn ¶
func (l *DefaultLogger) Warn(msg string, fields Fields)
Click to show internal directories.
Click to hide internal directories.