zerolog

package
v0.0.0-...-8349458 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdapter

func NewAdapter(log *zerolog.Logger) log.Logger

Types

type LogAdapter

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

func (*LogAdapter) Debug

func (a *LogAdapter) Debug(message string, fields map[string]any)

func (*LogAdapter) Error

func (a *LogAdapter) Error(err error, message string, fields map[string]any)

func (*LogAdapter) Info

func (a *LogAdapter) Info(message string, fields map[string]any)

Jump to

Keyboard shortcuts

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