logging

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package logging provides a configured zerolog logger for the application.

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 with the specified log level. It configures zerolog to use human-readable console output with: - ISO-8601 timestamp format - Caller information (file:line)

func Panic

func Panic() *zerolog.Event

Panic logs a panic message and panics.

func Warn

func Warn() *zerolog.Event

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