logger

package
v1.0.1-with-auth Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2025 License: MIT Imports: 5 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 interface {
	Info(msg string, tags map[string]interface{})
	Warn(msg string, tags map[string]interface{})
	Error(msg string, err error, tags map[string]interface{})
	Debug(msg string, tags map[string]interface{})
	Trace(msg string, tags map[string]interface{})
	SetGlobalValue(key string, value any)
	Instance() zerolog.Logger
}

func NewLogger

func NewLogger(level string) Logger

Jump to

Keyboard shortcuts

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