logger

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Logger is the global logger instance
	Logger zerolog.Logger
)

Functions

func Debug

func Debug(msg string, fields ...map[string]interface{})

Debug logs a debug message

func Error

func Error(msg string, err error, fields ...map[string]interface{})

Error logs an error message

func Info

func Info(msg string, fields ...map[string]interface{})

Info logs an info message

func InitLogger

func InitLogger(verboseCount int)

InitLogger initializes the global logger with the given verbosity level

func Warn

func Warn(msg string, fields ...map[string]interface{})

Warn logs a warning message

Types

This section is empty.

Jump to

Keyboard shortcuts

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