log

package
v0.0.0-...-c728838 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2017 License: MIT Imports: 6 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorw

func Errorw(msg string, keysAndValues ...interface{})

func Fatalw

func Fatalw(msg string, keysAndValues ...interface{})

func Infow

func Infow(msg string, keysAndValues ...interface{})

func Init

func Init(logStyle string)

Types

type CustomEncoder

type CustomEncoder struct {
	*zapcore.MapObjectEncoder
	// contains filtered or unexported fields
}

func (CustomEncoder) Clone

func (enc CustomEncoder) Clone() zapcore.Encoder

func (CustomEncoder) EncodeEntry

func (enc CustomEncoder) EncodeEntry(entry zapcore.Entry, fields []zapcore.Field) (*buffer.Buffer, error)

Jump to

Keyboard shortcuts

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