Replace global log_* wrapper functions with create_module_logger(__name__) instances across the codebase, enabling proper module-level logger namespacing. Simplifies core/log_system/log_funcs.py by removing legacy _normalize_module_path and cleaning up _normalize_module_name. Bumps log_system config to 2.0.0 and introduces PROJECT_ALIASES for cleaner log module prefix stripping.
19 lines
468 B
Python
19 lines
468 B
Python
"""
|
|
@author: Azornes
|
|
@title: AzLogs
|
|
@version: 2.0.0
|
|
@description: Logging Configuration
|
|
"""
|
|
# Log level for development.
|
|
# Possible values: 'DEBUG', 'INFO', 'WARN', 'ERROR', 'NONE'
|
|
LOG_LEVEL = "DEBUG"
|
|
|
|
# Logger module name. Set to None to auto-detect from folder name.
|
|
LOG_MODULE_NAME = "MResolver"
|
|
|
|
# Enable ANSI colors in console logs.
|
|
USE_COLORS = True
|
|
|
|
# Project name aliases stripped during module name normalization.
|
|
PROJECT_ALIASES = ["comfyui-model-resolver"]
|