logger

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug() *zerolog.Event

Debug logs a debug message

func Error

func Error() *zerolog.Event

Error logs an error message

func Info

func Info() *zerolog.Event

Info logs an info message

func Init

func Init(verbose bool)

Init initializes the global logger with pretty console output

func Warn

func Warn() *zerolog.Event

Warn logs a warning message

func WithDuration

func WithDuration(start time.Time) *zerolog.Event

WithDuration creates a log entry with duration tracking

Types

This section is empty.

Jump to

Keyboard shortcuts

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