logutils

package
v0.0.0-...-c2276db Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsoleFormatErrFieldName

func ConsoleFormatErrFieldName() zerolog.Formatter

ConsoleFormatErrFieldName returns a custom formatter for error field name.

func ConsoleFormatErrFieldValue

func ConsoleFormatErrFieldValue() zerolog.Formatter

ConsoleFormatErrFieldValue returns a custom formatter for error value.

func ConsoleFormatLevel

func ConsoleFormatLevel() zerolog.Formatter

ConsoleFormatLevel returns a custom colorizer for zerolog console level output

func InterceptorLogger

func InterceptorLogger(l zerolog.Logger) logging.Logger

func SetupLogging

func SetupLogging(config *config.LogConfig) (*zerolog.Logger, *os.File)

Types

This section is empty.

Jump to

Keyboard shortcuts

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