Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Str2ZapLevel ¶
func Str2ZapLevel(level LogLevelStr) (zapcore.Level, error)
Types ¶
type LogLevelStr ¶
type LogLevelStr = string
const ( LevelDebugStr LogLevelStr = "debug" LevelFatalStr LogLevelStr = "fatal" LevelErrorStr LogLevelStr = "error" LevelWarnStr LogLevelStr = "warn" LevelInfoStr LogLevelStr = "info" )
Click to show internal directories.
Click to hide internal directories.