global

package
v2.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogConsoleDisabled bool        `json:"log.console.disabled,omitempty" yaml:"log.console.disabled,omitempty"`
	LogConsoleFormat   string      `json:"log.console.format,omitempty"   yaml:"log.console.format,omitempty"  `
	LogConsoleLevel    level.Level `json:"log.console.level"              yaml:"log.console.level"             `
	LogFileEnabled     bool        `json:"log.file.enabled"               yaml:"log.file.enabled"              `
	LogFileFormat      string      `json:"log.file.format,omitempty"      yaml:"log.file.format,omitempty"     `
	LogFileLevel       level.Level `json:"log.file.level"                 yaml:"log.file.level"                `
	LogFileFilename    string      `json:"log.file.filename"              yaml:"log.file.filename"             `
	LogFileMaxSize     int         `json:"log.file.max_size,omitempty"    yaml:"log.file.max_size,omitempty"   `
	LogFileMaxAge      int         `json:"log.file.max_age,omitempty"     yaml:"log.file.max_age,omitempty"    `
	LogFileMaxBackups  int         `json:"log.file.max_backups,omitempty" yaml:"log.file.max_backups,omitempty"`
	LogFileDailyRotate bool        `json:"log.file.daily_rotate"          yaml:"log.file.daily_rotate"         `
}

func C

func C() Config

Jump to

Keyboard shortcuts

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