perun.logging ============= .. py:module:: perun.logging .. autoapi-nested-parse:: Logging utilities. Attributes ---------- .. autoapisummary:: perun.logging.RESET_SEQ perun.logging.COLOR_SEQ perun.logging.COLORS Classes ------- .. autoapisummary:: perun.logging.ColoredFormatter Functions --------- .. autoapisummary:: perun.logging.set_logger_config Module Contents --------------- .. py:data:: RESET_SEQ :value: '\x1b[0m' .. py:data:: COLOR_SEQ :value: '\x1b[1;%dm' .. py:data:: COLORS .. py:class:: ColoredFormatter(fmt=None, datefmt=None, style='%', validate=True, *, defaults=None) Bases: :py:obj:`logging.Formatter` A logging formatter that adds colors to specific parts of the log message. .. py:method:: format(record: logging.LogRecord) -> str Apply color formating to log message. .. py:function:: set_logger_config(config: configparser.ConfigParser) -> None Configure the logging settings for the application. :param config: Configuration object. :type config: ConfigParser :rtype: None