You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
783 B

  1. package config
  2. type Zap struct {
  3. Level string `mapstructure:"level" json:"level" yaml:"level"`
  4. Format string `mapstructure:"format" json:"format" yaml:"format"`
  5. Prefix string `mapstructure:"prefix" json:"prefix" yaml:"prefix"`
  6. Director string `mapstructure:"director" json:"director" yaml:"director"`
  7. LinkName string `mapstructure:"link-name" json:"linkName" yaml:"link-name"`
  8. ShowLine bool `mapstructure:"show-line" json:"showLine" yaml:"showLine"`
  9. EncodeLevel string `mapstructure:"encode-level" json:"encodeLevel" yaml:"encode-level"`
  10. StacktraceKey string `mapstructure:"stacktrace-key" json:"stacktraceKey" yaml:"stacktrace-key"`
  11. LogInConsole bool `mapstructure:"log-in-console" json:"logInConsole" yaml:"log-in-console"`
  12. }