Documentation ¶
Index ¶
- func SetLevel(level LogLevel)
- func SetSysLogger(syslog string)
- type LogLevel
- type Logger
- func (l Logger) Debug(msg string)
- func (l Logger) Debugf(msg string, values ...interface{})
- func (l Logger) Error(msg string, err error)
- func (l Logger) Errorf(msg string, values ...interface{})
- func (l Logger) Info(msg string)
- func (l Logger) Infof(msg string, values ...interface{})
- func (l Logger) Panic(msg string, err error)
- func (l Logger) Panicf(msg string, values ...interface{})
- func (l Logger) Warning(msg string)
- func (l Logger) Warningf(msg string, values ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetSysLogger ¶
func SetSysLogger(syslog string)
Types ¶
type LogLevel ¶
type LogLevel int
func ParseLogLevel ¶
func (LogLevel) MarshalJSON ¶
func (*LogLevel) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.