Previous topic

qarbon.executor

Next topic

qarbon.node

This Page

qarbon.log

Helper logging functions.

Functions

log
debug
info
warn
warning
error
exception
critical
fatal
initialize Initializes logging.
is_initialized
log_it partial(func, *args, **keywords) - new function with partial application
debug_it partial(func, *args, **keywords) - new function with partial application
info_it partial(func, *args, **keywords) - new function with partial application
warn_it partial(func, *args, **keywords) - new function with partial application
error_it partial(func, *args, **keywords) - new function with partial application
fatal_it partial(func, *args, **keywords) - new function with partial application
qarbon.log.log(level, msg, *args, **kwargs)[source]
qarbon.log.debug(msg, *args, **kwargs)[source]
qarbon.log.info(msg, *args, **kwargs)[source]
qarbon.log.warn(msg, *args, **kwargs)[source]
qarbon.log.warning(msg, *args, **kwargs)[source]
qarbon.log.error(msg, *args, **kwargs)[source]
qarbon.log.exception(msg, *args, **kwargs)[source]
qarbon.log.fatal(msg, *args, **kwargs)[source]
qarbon.log.critical(msg, *args, **kwargs)[source]
qarbon.log.is_initialized()[source]
qarbon.log.initialize(log_level=None, log_format=None, stream=None, file_name=None, file_size=None, file_number=None)[source]

Initializes logging. Configures the Root logger with the given log_level. If file_name is given, a rotating log file handler is added. Otherwise, adds a default output stream handler with the given log_format.