A family of wrappers of selected futile.logger
functions that control
the logging mechanism in crmPack
. The crmPack
uses futile.logger
package for the logging purposes. All the messages logged in crmPack
are
logged into crmPack
logger at the futile.logger::TRACE
level. Hence,
enabling verbose logging means that the logging threshold will be set to
futile.logger::TRACE
for the crmPack
logger, and disabling verbose
logging means that it will be set to futile.logger::FATAL
.
Functions
enable_logging()
: A simple wrapper offutile.logger::flog.threshold()
that enablescrmPack
verbose logging by setting logging threshold tofutile.logger::TRACE
forcrmPack
logger.disable_logging()
: A simple wrapper offutile.logger::flog.threshold()
that disablescrmPack
verbose logging by setting logging threshold tofutile.logger::FATAL
forcrmPack
logger.is_logging_enabled()
: A simple wrapper offutile.logger::flog.logger()
that checks whether current threshold level forcrmPack
logger is verbose, which isfutile.logger::TRACE
. It returnsTRUE
if the current logging level is verbose,FALSE
otherwise.log_trace()
: A simple wrapper offutile.logger::flog.trace()
that prints a log message in thecrmPack
logger.