Documentation ¶ Index ¶ func New(config Config) *zap.Logger type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(config Config) *zap.Logger Types ¶ type Config ¶ type Config struct { API bool `mapstructure:"enabled"` Server bool `mapstructure:"enabled"` LogLevel int8 `mapstructure:"logLevel"` Encoding string `mapstructure:"encoding"` Development bool `mapstructure:"development"` } Source Files ¶ View all Source files logging.go Click to show internal directories. Click to hide internal directories.