Documentation
¶
Overview ¶
Package loginit wires the logger up to user configuration at process startup. It depends on both pkg/config and pkg/logger so neither of those packages has to import the other for startup orchestration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyLogLevel ¶
func ApplyLogLevel()
ApplyLogLevel reads the log level from upload config and applies it to the logger. No-ops if the config can't be read; logs a warning and leaves the default level in place if log_level is unrecognized.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.