logger

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func Debug

func Debug(format string, args ...interface{})

Debug logs a debug message

func Error

func Error(msg string, err error)

Error logs an error message

func Errorf

func Errorf(format string, args ...interface{})

Errorf logs a formatted error message

func Fatal

func Fatal(msg string, err error)

Fatal logs a fatal error and exits

func Fatalf

func Fatalf(format string, args ...interface{})

Fatalf logs a formatted fatal error and exits

func Info

func Info(format string, args ...interface{})

Info logs an info message

func Init

func Init(debug bool) error

Init initializes the logger with the specified configuration

func Warn

func Warn(format string, args ...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