780ef9d0ef4a16c965acf8962d63703bcbab182b
Console output (ColoredFormatter): - Level name is now wrapped in [LEVEL] and left-padded via _format_level. - Timestamp and root-label segments are individually bracket-wrapped, keeping plain-output layout consistent with coloured output. - Separator between fields is colourised (colour code derived from level theme) so the table structure remains readable. - New include_milliseconds init flag controls whether a fractional-second suffix is appended to the timestamp; _format_time respects it. - _display_logger_name unchanged; _split_logger_name still decomposes dotted names into root / detail parts. File logging (AzLogsLogger): - file_handlers dict introduced to cache one RotatingFileHandler per top-level root module, preventing duplicate handlers when multiple sub-modules log to the same file (_get_file_handler / _get_log_file / _root_module_name). - File handler formatter upgraded from a bare logging.Formatter to ColoredFormatter (colours off, milliseconds on, datefmt hard-coded to '%Y-%m-%d %H:%M:%S') so file output carries the same column structure as the console formatter. - reset_loggers method properly removes and closes all handlers (StreamHandler and RotatingFileHandler) from every configured logger before clearing self.loggers and self.file_handlers, allowing _get_logger to be called again with fresh settings. - set_file_logging now delegates to reset_loggers instead of simply clearing the loggers dict.
Languages
JavaScript
47.5%
Python
45.7%
CSS
6.8%