config

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogLevel  string `yaml:"level"`
	LogFormat string `yaml:"format"`
}

func DefaultLoggingConfig

func DefaultLoggingConfig() Config

DefaultLoggingConfig returns the default Config instance

func NewLoggingConfig

func NewLoggingConfig(level, format string) Config

NewLoggingConfig returns a new Config instance

Jump to

Keyboard shortcuts

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