chc.util.loggingutil module

class chc.util.loggingutil.CHKLogger[source]

Bases: object

property logger: logging.Logger
set_chkc_logger(initmsg: str = '', level: str = LogLevel.warning, logfilename: Optional[str] = None, mode: str = 'a') None[source]
class chc.util.loggingutil.LogLevel(value)[source]

Bases: str, enum.Enum

Simple type to restrict CLI log-level choices.

Copied from Ricardo Baratto.

classmethod all()[source]
critical = 'CRITICAL'
debug = 'DEBUG'
error = 'ERROR'
info = 'INFO'
classmethod options()[source]
warning = 'WARNING'