zap

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: AGPL-3.0 Imports: 1 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 {
	// contains filtered or unexported fields
}

func New

func New(logger *zap.SugaredLogger) *ZapLogger

func (*ZapLogger) Debugw

func (l *ZapLogger) Debugw(format string, args ...any)

func (*ZapLogger) Errorw

func (l *ZapLogger) Errorw(format string, args ...any)

func (*ZapLogger) Fatalw

func (l *ZapLogger) Fatalw(format string, args ...any)

func (*ZapLogger) Infow

func (l *ZapLogger) Infow(format string, args ...any)

func (*ZapLogger) Panicw

func (l *ZapLogger) Panicw(format string, args ...any)

func (*ZapLogger) Warnw

func (l *ZapLogger) Warnw(format string, args ...any)

Jump to

Keyboard shortcuts

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