logging

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLoggerWithConfigAndFields

func BuildLoggerWithConfigAndFields(config config.LogConfig, fields log.Fields) *log.Entry

BuildLoggerWithConfigAndFields Self explanatory

func BuildRootLog

func BuildRootLog(component string) *log.Entry

BuildRootLog builds a top level logger.

func BuildRootLogWithConfig

func BuildRootLogWithConfig(component string, config *config.Config) *log.Entry

BuildRootLogWithConfig builds a new log setted up according to a given config. This method is usefull for testing

func BuildRootLogWithLevelFatal

func BuildRootLogWithLevelFatal() *log.Entry

func BuildRootLogWithName

func BuildRootLogWithName(component, checkName string) *log.Entry

func BuildRootLogWithNameAndConfig

func BuildRootLogWithNameAndConfig(component string, config *config.Config, checkName string) *log.Entry

Types

This section is empty.

Jump to

Keyboard shortcuts

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