- package config
- type Zap struct {
- Level string `mapstructure:"level" json:"level" yaml:"level"`
- Format string `mapstructure:"format" json:"format" yaml:"format"`
- Prefix string `mapstructure:"prefix" json:"prefix" yaml:"prefix"`
- Director string `mapstructure:"director" json:"director" yaml:"director"`
- LinkName string `mapstructure:"link-name" json:"linkName" yaml:"link-name"`
- ShowLine bool `mapstructure:"show-line" json:"showLine" yaml:"showLine"`
- EncodeLevel string `mapstructure:"encode-level" json:"encodeLevel" yaml:"encode-level"`
- StacktraceKey string `mapstructure:"stacktrace-key" json:"stacktraceKey" yaml:"stacktrace-key"`
- LogInConsole bool `mapstructure:"log-in-console" json:"logInConsole" yaml:"log-in-console"`
- }
|