Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
func ConfigureLogger ¶
func ConfigureLogger(config config.LoggingConfig) *Logger
ConfigureLogger sets up the logging framework
In production, the container logs will be collected and file logging should be disabled. However, during development it's nicer to see logs as text and optionally write to a file when debugging problems in the containerized pipeline
The output log file will be located at /var/log/service-xyz/service-xyz.log and will be rolled according to configuration set.
Click to show internal directories.
Click to hide internal directories.