oasislmf.utils.log

Functions

set_rotating_logger([log_file_path, log_level, ...])

read_log_config(config_parser)

Read an Oasis standard logging config

oasis_log(*args, **kwargs)

Decorator that logs the entry, exit and execution time.

Module Contents

oasislmf.utils.log.set_rotating_logger(log_file_path=inspect.stack()[1][1], log_level=logging.INFO, max_file_size=10**7, max_backups=5)[source]
oasislmf.utils.log.read_log_config(config_parser)[source]

Read an Oasis standard logging config

oasislmf.utils.log.oasis_log(*args, **kwargs)[source]

Decorator that logs the entry, exit and execution time.