configs

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: GPL-3.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	LogFormatKey         = "log.format"
	LogLevelKey          = "log.level"
	LogOutputFileKey     = "log.output_to_file"
	LogOutputToStdoutKey = "log.output_to_stdout"
	LogKeysToRedactKey   = "log.redacted_keys"

	LogFormatJSON = "json"
	LogFormatText = "text"
	LogLevelINFO  = "info"
	LogLevelDEBUG = "debug"
	LogLevelWARN  = "warn"
	LogLevelERROR = "error"
)

Variables

This section is empty.

Functions

func GetLogFormat

func GetLogFormat() string

func GetLogKeysToRedact added in v0.0.5

func GetLogKeysToRedact() []string

func GetLogLevel

func GetLogLevel() string

func GetLogOutput

func GetLogOutput() string

func GetLogToStdout

func GetLogToStdout() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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