logger

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupLogger

func SetupLogger(loggingConfig ConfigSchema)

Types

type ConfigSchema

type ConfigSchema struct {
	Level    int8
	Logstash bool
}

type LevelValueHook

type LevelValueHook struct {
	// contains filtered or unexported fields
}

func NewLevelValueHook

func NewLevelValueHook() LevelValueHook

func (LevelValueHook) Run

func (h LevelValueHook) Run(e *zerolog.Event, level zerolog.Level, msg string)

Jump to

Keyboard shortcuts

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