Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWriteSyncer ¶
func GetWriteSyncer(z Config) (zapcore.WriteSyncer, error)
Types ¶
type Config ¶
type Config struct { Level string `mapstructure:"level"` Format string `mapstructure:"format"` Director string `mapstructure:"director"` LinkName string `mapstructure:"link-name"` ShowLine bool `mapstructure:"show-line"` EncodeLevel string `mapstructure:"encode-level"` StacktraceKey string `mapstructure:"stacktrace-key"` LogInConsole bool `mapstructure:"log-in-console"` }
Click to show internal directories.
Click to hide internal directories.