Add singleton logging configuration for the renamer application
This commit introduces a new module `logging_config.py` that implements a singleton pattern for logging configuration. The logger is initialized only once and can be configured based on an environment variable to log to a file or to the console. This centralizes logging setup and ensures consistent logging behavior throughout the application.
This commit is contained in:
BIN
dist/renamer-0.8.9-py3-none-any.whl
vendored
Normal file
BIN
dist/renamer-0.8.9-py3-none-any.whl
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user