config

package
v0.0.0-...-0788a51 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Debug = iota
	Info
	Warning
	Error
	Fatal
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// LogLevel is the level filter for the log output
	LogLevel int
	// OutputFields is a list of fields to include on the log output
	OutputFields []string
	// ExcludeFields is a list of fields to exclude from the log output
	ExcludeFields []string
	// Filter is a map of fields and values which are used to filter the log output
	Filter map[string]string
}

func Parse

func Parse() (*Config, error)

Jump to

Keyboard shortcuts

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