log

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2018 License: MIT Imports: 6 Imported by: 0

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)

func NewErrorDispatcher

func NewErrorDispatcher(base zapcore.Core, err zapcore.Core) zapcore.Core

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL