Help us shape the future of Go! Take the 2026 Go Developer Survey

logger

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 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