valjean — VALidation, Journal d’Évolution et ANalyse

Jean Valjean

Jean Valjean avec ses chandeliers, illustré par Émile Bayard (1862).

Top-level module for the valjean package.

class valjean.ValjeanFormatter(info_fmt, fmt)[source]

Custom formatter for log messages.

This formatter class uses a different format for the INFO message level.

__init__(info_fmt, fmt)[source]

Initialize the formatter.

Parameters
  • info_fmt (str) – The format string for the INFO level.

  • fmt (str) – The format string for the other message levels.

format(record)[source]

Format the given record.

valjean.set_log_level(level)[source]

Set the verbosity level for the default logger.