zaplog

package
v0.0.0-...-e5af624 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoupArray

func CoupArray(kv []interface{}) []interface{}

拼接完整的数组

Types

type Log

type Log struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...conf.Option) *Log

func (*Log) Debug

func (l *Log) Debug(keysAndValues ...interface{})

func (*Log) Dump

func (l *Log) Dump(keysAndValues ...interface{})

func (*Log) Error

func (l *Log) Error(keysAndValues ...interface{})

func (*Log) Fatal

func (l *Log) Fatal(keysAndValues ...interface{})

func (*Log) Info

func (l *Log) Info(keysAndValues ...interface{})

func (*Log) Panic

func (l *Log) Panic(keysAndValues ...interface{})

func (*Log) SetLogLevel

func (l *Log) SetLogLevel(level conf.Level)

func (*Log) Sync

func (l *Log) Sync()

func (*Log) Warn

func (l *Log) Warn(keysAndValues ...interface{})

Jump to

Keyboard shortcuts

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