config

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvPrefix         string = "SPARKLEMUFFIN"
	DefaultConfigPath string = "/etc"
	ConfigName        string = "sparklemuffin"
)
View Source
const (
	// Format log messages as pretty-printed key-value pairs.
	LogFormatConsole = "console"

	// Format log messages as JSON documents.
	LogFormatJSON = "json"
)

Variables

Functions

func SetupGlobalLogger

func SetupGlobalLogger(logFormat string, logLevelValue string) error

SetupGlobalLogger configures the global zerolog.Logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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