logger

package
v1.0.4 Latest Latest
Warning

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

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

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

ZapLoggerAdapter zap logger adapter

func NewZapLoggerAdapter

func NewZapLoggerAdapter(logger *zap.Logger) *ZapLoggerAdapter

NewZapLoggerAdapter new zap logger adapter

func (*ZapLoggerAdapter) Debug

func (z *ZapLoggerAdapter) Debug(msg string, fields watermill.LogFields)

Debug zap logger adapter debug

func (*ZapLoggerAdapter) Error

func (z *ZapLoggerAdapter) Error(msg string, err error, fields watermill.LogFields)

Error zap logger adapter error

func (*ZapLoggerAdapter) Info

func (z *ZapLoggerAdapter) Info(msg string, fields watermill.LogFields)

Info zap logger adapter info

func (*ZapLoggerAdapter) Trace

func (z *ZapLoggerAdapter) Trace(msg string, fields watermill.LogFields)

Trace zap logger

func (*ZapLoggerAdapter) With

With zap logger adapter with

Jump to

Keyboard shortcuts

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