logger

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close added in v0.0.2

func Close()

func DPanic

func DPanic(args ...interface{})

func DPanicTrace added in v0.0.2

func DPanicTrace(ctx context.Context, args ...interface{})

func DPanicf

func DPanicf(template string, args ...interface{})

func DPanicfTrace added in v0.0.2

func DPanicfTrace(ctx context.Context, template string, args ...interface{})

func Debug

func Debug(args ...interface{})

func DebugTrace added in v0.0.2

func DebugTrace(ctx context.Context, args ...interface{})

func Debugf

func Debugf(template string, args ...interface{})

func DebugfTrace added in v0.0.2

func DebugfTrace(ctx context.Context, template string, args ...interface{})

func Error

func Error(args ...interface{})

func ErrorTrace added in v0.0.2

func ErrorTrace(ctx context.Context, args ...interface{})

func Errorf

func Errorf(template string, args ...interface{})

func ErrorfTrace added in v0.0.2

func ErrorfTrace(ctx context.Context, template string, args ...interface{})

func Fatal

func Fatal(args ...interface{})

func FatalTrace added in v0.0.2

func FatalTrace(ctx context.Context, args ...interface{})

func Fatalf

func Fatalf(template string, args ...interface{})

func FatalfTrace added in v0.0.2

func FatalfTrace(ctx context.Context, template string, args ...interface{})

func Info

func Info(args ...interface{})

func InfoTrace added in v0.0.2

func InfoTrace(ctx context.Context, args ...interface{})

func Infof

func Infof(template string, args ...interface{})

func InfofTrace added in v0.0.2

func InfofTrace(ctx context.Context, template string, args ...interface{})

func New added in v0.0.2

func New(filename string)

func Panic

func Panic(args ...interface{})

func PanicTrace added in v0.0.2

func PanicTrace(ctx context.Context, args ...interface{})

func Panicf

func Panicf(template string, args ...interface{})

func PanicfTrace added in v0.0.2

func PanicfTrace(ctx context.Context, template string, args ...interface{})

func Trace added in v0.0.2

func Trace(ctx context.Context) *zap.SugaredLogger

logger带上TraceId

func Warn

func Warn(args ...interface{})

func WarnTrace added in v0.0.2

func WarnTrace(ctx context.Context, args ...interface{})

func Warnf

func Warnf(template string, args ...interface{})

func WarnfTrace added in v0.0.2

func WarnfTrace(ctx context.Context, template string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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