Documentation ¶
Index ¶
- Variables
- func D(format string, v ...interface{})
- func Debug(format Message, v ...interface{})
- func E(format string, v ...interface{})
- func Error(format Message, v ...interface{})
- func I(format string, v ...interface{})
- func SetLevel(newLevel LogLevel)
- func W(format string, v ...interface{})
- func Warnln(format string, v ...interface{})
- func Write(msg Message)
- type LogLevel
- type Message
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type LogLevel ¶
type LogLevel int
func (LogLevel) MarshalJSON ¶
MarshalJSON serialize LogLevel with json
func (LogLevel) MarshalYAML ¶
MarshalYAML serialize LogLevel with yaml
func (*LogLevel) UnmarshalJSON ¶
UnmarshalJSON unserialize LogLevel with json
func (*LogLevel) UnmarshalYAML ¶
UnmarshalYAML unserialize LogLevel with yaml
Click to show internal directories.
Click to hide internal directories.