rsmlogger#

Configure the logging module for RSM apps.

Classes

GatherHandler

JSONFormatter

LintFormatter

RSMFormatter

Default logging formatter for RSM apps.

Functions

rsm.rsmlogger.config_rsm_logger(level=30, fmt='rsm', log_time=True)[source]#

Configure logging for RSM applications.

By default, the RSM libray creates a logger instance with name “RSM” but it does not add any handlers or formatters to it. Instead, it is the responsibility of client application code to setup logging. This function configures the “RSM” logger in the way recommended by library author. In particular, scripts such as rsm-make and rsm-lint use this configuration.