package
0.0.8
Repository: https://github.com/tkrop/go-config.git
Documentation: pkg.go.dev

# Packages

Package format provides common log formatting based on logrus for services, jobs, and commands with integrated configuration loading.

# Functions

IsTerminal checks whether the given writer is a terminal.

# Constants

ColorAuto enables the automatic color mode.
ColorFields enables the color mode for fields.
ColorLevels enables the color mode for log level.
ColorOff disables the color mode.
ColorOn enables the color mode.
JSON is setting up a JSON formatter.
Pretty is setting up a pretty formatter.
Text is setting up a text formatter.
Order modes.
OrderOff disables the order mode.
OrderOn enables the order mode.

# Structs

Config common configuration for logging.

# Type aliases

ColorMode is the color mode used for logging.
Formatter is the formatter used for logging output.
OrderMode is the order mode used for logging.