Documentation ¶
Overview ¶
Package logging configures and initializes global application logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogConfig ¶
type LogConfig struct { LogPretty bool `arg:"--log-pretty,env:LOG_PRETTY" default:"false" help:"log pretty"` LogLevel string `arg:"--log-level,env:LOG_LEVEL" default:"info" help:"log level" placeholder:"LEVEL"` }
LogConfig is the logging configuration. It contains struct tags compatible with github.com/alexflint/go-arg.
Click to show internal directories.
Click to hide internal directories.