Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶ added in v0.1.2
func New(config ZapLogConfig) (l *zap.SugaredLogger)
Types ¶
type ZapLogConfig ¶
type ZapLogConfig struct { zap.Config `json:",inline" yaml:",inline"` ErrorDispatcherPaths []string `json:"errorDispatcherPaths" yaml:"errorDispatcherPaths"` }
func (*ZapLogConfig) Build ¶
func (c *ZapLogConfig) Build(options ...zap.Option) (*zap.SugaredLogger, error)
Click to show internal directories.
Click to hide internal directories.