logger

package
v4.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZapAdapter

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

func NewZapAdapter

func NewZapAdapter(zapLogger *zap.Logger) *ZapAdapter

NewZapAdapter ... which uses general log interface

func (*ZapAdapter) Debug

func (log *ZapAdapter) Debug(msg string, keyvals ...any)

func (*ZapAdapter) Error

func (log *ZapAdapter) Error(msg string, keyvals ...any)

func (*ZapAdapter) Info

func (log *ZapAdapter) Info(msg string, keyvals ...any)

func (*ZapAdapter) Warn

func (log *ZapAdapter) Warn(msg string, keyvals ...any)

Jump to

Keyboard shortcuts

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