- Set default level/source field widths to 0 (no extra spacing) in DEFAULT_CONFIG - Add level_field_width and source_field_width parameters to ColoredFormatter - Pad/center level tag and ljust source tag ([name:lineno]) consistently - Add _field_width() helper to safely convert config values to non-negative ints - Pass config widths through to ColoredFormatter in AzLogsLogger setup - Set LOG_MODULE_NAME to 'MLinker' in config.py
13 lines
297 B
Python
13 lines
297 B
Python
"""
|
|
@author: Azornes
|
|
@title: AzLogs
|
|
@version: 1.4.1
|
|
@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 = "MLinker"
|