logging

package
v0.0.0-...-903622a Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextualLogger

func ContextualLogger(component string) zerolog.Logger

ContextualLogger creates a child logger with additional context fields

func ErrorLogger

func ErrorLogger(err error, component string) zerolog.Logger

ErrorLogger creates a logger with error context

func HTTPLogger

func HTTPLogger(method, path, remoteAddr string) zerolog.Logger

HTTPLogger creates a logger specifically for HTTP request logging

func InitLogging

func InitLogging(cmd *cli.Command) error

InitLogging configures the global zerolog logger based on CLI flags

Types

This section is empty.

Jump to

Keyboard shortcuts

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