logger

package
v0.0.0-...-26d7e6f Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZapLogger

type ZapLogger struct {
	*zap.SugaredLogger
}

func NewZapLogger

func NewZapLogger(logger *zap.SugaredLogger) *ZapLogger

NewZapLogger creates a wrapped zap logger

func (*ZapLogger) Trace

func (zl *ZapLogger) Trace(args ...interface{})

Trace is a shim stand-in for when we have real trace-level logging support

func (*ZapLogger) Tracef

func (zl *ZapLogger) Tracef(format string, values ...interface{})

Tracef is a shim stand-in for when we have real trace-level logging support

func (*ZapLogger) Tracew

func (zl *ZapLogger) Tracew(msg string, keysAndValues ...interface{})

Tracew is a shim stand-in for when we have real trace-level logging support

Jump to

Keyboard shortcuts

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