Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level int8
Level the log level
const ( // DebugLevel the debug log level DebugLevel Level // InfoLevel the info log level InfoLevel // WarnLevel the warn log level WarnLevel // ErrorLevel the error log level ErrorLevel // NoneLevel disable all level log, except for the Writer.Log NoneLevel )
func ParseLevel ¶ added in v0.3.2
ParseLevel parse the log level from string
func (Level) MarshalText ¶
MarshalText implement interface encoding.TextMarshaler
Click to show internal directories.
Click to hide internal directories.