structfs.logutil

structfs.logutil#

Utility functions for logging

Module Contents#

Functions#

quiet

Be very quiet. I’m hunting wabbits.

unquiet

Reverse previous quiet()

Data#

g_quiet

API#

structfs.logutil.g_quiet

None

structfs.logutil.quiet(roots=('idaes', 'pyomo'), level=logging.CRITICAL)

Be very quiet. I’m hunting wabbits.

Ignore warnings and set all loggers starting with one of the values in ‘roots’ to the given level (default=CRITICAL).

structfs.logutil.unquiet()

Reverse previous quiet()