logging

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAndSetDefaultLogger

func GetAndSetDefaultLogger(appName string) zerolog.Logger

GetAndSetDefaultLogger gets the default logger and sets it to the default context logger. It also adds the app name and the commit hash to the logger.

func GetAndSetDefaultLoggerWithWriter

func GetAndSetDefaultLoggerWithWriter(appName string, writer io.Writer) zerolog.Logger

GetAndSetDefaultLogger gets the default logger and sets it to the default context logger. It also adds the app name and the commit hash to the logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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