logging

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Logger is the global logger instance

Functions

func Debug

func Debug() *zerolog.Event

Debug logs a debug message

func Error

func Error() *zerolog.Event

Error logs an error message

func Fatal

func Fatal() *zerolog.Event

Fatal logs a fatal message and exits

func Info

func Info() *zerolog.Event

Info logs an info message

func Init

func Init(level string)

Init initializes the global logger

func Warn

func Warn() *zerolog.Event

Warn logs a warning message

func WithRequestID

func WithRequestID(requestID string) zerolog.Logger

WithRequestID adds a request ID to the logger context

Types

This section is empty.

Jump to

Keyboard shortcuts

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