loggerutils

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(moduleName string)

Initialize the logging framework. Inputs are the golang module name used as a logging prefix and the env variable with the logging level

func WithClusterName

func WithClusterName(cluster string) zerolog.Logger

WithClusterName creates a new logger aware of the cluster-name.

func WithProjectAndCluster

func WithProjectAndCluster(project, cluster string) zerolog.Logger

func WithProjectName

func WithProjectName(project string) zerolog.Logger

WithProjectName creates a new logger aware of the project-name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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