Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Zap ¶
type Zap struct { Level string `json:"level" yaml:"level"` // 级别 Format string `json:"format" yaml:"format"` // 输出 Prefix string `json:"prefix" yaml:"prefix"` // 日志前缀 Director string `json:"director" yaml:"director"` // 日志文件夹 ShowLine bool `json:"showLine" yaml:"showLine"` // 显示行 EncodeLevel string `json:"encode-level" yaml:"encode-level"` // 编码级 StacktraceKey string `json:"stacktrace-key" yaml:"stacktrace-key"` // 栈名 LogInConsole bool `json:"log-in-console" yaml:"log-in-console"` // 输出控制台 }
Click to show internal directories.
Click to hide internal directories.