logzap

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(z *zap.Logger) ports.Logger

func NewProduction

func NewProduction() ports.Logger

NewProduction creates a production logger.

Types

type ZapLogger

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

ZapLogger adapts zap to the shared.Logger interface.

func (*ZapLogger) Debug

func (l *ZapLogger) Debug(msg string, kv ...any)

func (*ZapLogger) Error

func (l *ZapLogger) Error(msg string, kv ...any)

func (*ZapLogger) Info

func (l *ZapLogger) Info(msg string, kv ...any)

func (*ZapLogger) Warn

func (l *ZapLogger) Warn(msg string, kv ...any)

Jump to

Keyboard shortcuts

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