zaplog

package
v2.0.4+incompatible Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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(s string, args ...interface{})

func (*Log) Debugf

func (l *Log) Debugf(format string, args ...interface{})

func (*Log) Error

func (l *Log) Error(s string, args ...interface{})

func (*Log) Errorf

func (l *Log) Errorf(format string, args ...interface{})

func (*Log) Fatal

func (l *Log) Fatal(s string, args ...interface{})

func (*Log) Fatalf

func (l *Log) Fatalf(format string, args ...interface{})

func (*Log) Info

func (l *Log) Info(s string, args ...interface{})

func (*Log) Infof

func (l *Log) Infof(format string, args ...interface{})

func (*Log) Panic

func (l *Log) Panic(s string, args ...interface{})

func (*Log) Panicf

func (l *Log) Panicf(format string, args ...interface{})

func (*Log) Warn

func (l *Log) Warn(s string, args ...interface{})

func (*Log) Warnf

func (l *Log) Warnf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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