Logging

The logging module implements logging using the Python logging package. Library users may be especially interested in setting verbosity levels using set_verbosity() to one of vdmtools.logging.CRITICAL (aka vdmtools.logging.FATAL), vdmtools.logging.ERROR, vdmtools.logging.WARNING (aka vdmtools.logging.WARN), vdmtools.logging.INFO, or vdmtools.logging.DEBUG.

vdmtools.logging.get_verbosity

Return the current level for the vdmtools' root logger.

vdmtools.logging.set_verbosity

Set the level for the vdmtools' root logger.

vdmtools.logging.disable_default_handler

Disable the default handler of the vdmtools' root logger.

vdmtools.logging.enable_default_handler

Enable the default handler of the vdmtools' root logger.

vdmtools.logging.disable_propagation

Disable propagation of the library log outputs.

vdmtools.logging.enable_propagation

Enable propagation of the library log outputs.