Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildLogger ¶
func BuildLogger(options ...ConfigOption) *zap.Logger
BuildLogger builds a logger with config options
Types ¶
type ConfigOption ¶ added in v0.8.3
ConfigOption is a way of configuring a logger
func ConfigWithDevelopmentMode ¶ added in v0.8.3
func ConfigWithDevelopmentMode() ConfigOption
ConfigWithDevelopmentMode configures a logger for dev mode
func ConfigWithLevel ¶ added in v0.8.3
func ConfigWithLevel(l zapcore.Level) ConfigOption
ConfigWithLevel configures a logger's level
Click to show internal directories.
Click to hide internal directories.