zap

package
v0.0.0-...-c01ea1d Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewZapLogger

func NewZapLogger(level log.Level) (log.Logger, error)

Types

type ZapLogger

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

func (*ZapLogger) Debug

func (l *ZapLogger) Debug(fmtMsg string, values ...any)

func (*ZapLogger) Error

func (l *ZapLogger) Error(fmtMsg string, values ...any)

func (*ZapLogger) Info

func (l *ZapLogger) Info(fmtMsg string, values ...any)

func (*ZapLogger) Level

func (l *ZapLogger) Level() log.Level

func (*ZapLogger) Trace

func (l *ZapLogger) Trace(fmtMsg string, values ...any)

func (*ZapLogger) Warn

func (l *ZapLogger) Warn(fmtMsg string, values ...any)

Jump to

Keyboard shortcuts

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