zerolog

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func NewLogger

func NewLogger(zl *zerolog.Logger) *Logger

func (*Logger) Debug

func (l *Logger) Debug(msg string, fields ...loglib.Fields)

func (*Logger) Error

func (l *Logger) Error(err error, msg string, fields ...loglib.Fields)

func (*Logger) Info

func (l *Logger) Info(msg string, fields ...loglib.Fields)

func (*Logger) Panic

func (l *Logger) Panic(msg string, fields ...loglib.Fields)

func (*Logger) Trace

func (l *Logger) Trace(msg string, fields ...loglib.Fields)

func (*Logger) Warn

func (l *Logger) Warn(err error, msg string, fields ...loglib.Fields)

func (*Logger) WithFields

func (l *Logger) WithFields(fields loglib.Fields) loglib.Logger

Jump to

Keyboard shortcuts

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