Documentation
¶
Overview ¶
Package logging provides global logging configuration and utilities for the backlog application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(level, format, logFile string)
Init initializes the global logger based on environment variables BACKLOG_LOG_FILE: path to log file (optional, defaults to stderr) BACKLOG_LOG_LEVEL: log level (debug, info, warn, error, defaults to info) BACKLOG_LOG_FORMAT: format (json, text, defaults to text)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.