module documentation

Logging facility.

Class Level Undocumented
Function critical Undocumented
Function debug Undocumented
Function error Undocumented
Function exception Undocumented
Function if_debug If debugging, apply the function to args and log the result.
Function info Undocumented
Function log Undocumented
Function set_level Undocumented
Function warning Undocumented
Function _location Undocumented
Function _raw Undocumented
Constant _PREFIX Undocumented
def critical(msg: str, *args, **kwargs): (source)

Undocumented

def debug(msg: str, *args, **kwargs): (source)

Undocumented

def error(msg: str, *args, **kwargs): (source)

Undocumented

def exception(msg: str = '', *args, **kwargs): (source)

Undocumented

def if_debug(fn, *args): (source)

If debugging, apply the function to args and log the result.

def info(msg: str, *args, **kwargs): (source)

Undocumented

def log(level: int, msg: str, *args, **kwargs): (source)

Undocumented

def set_level(level: int|str): (source)

Undocumented

def warning(msg: str, *args, **kwargs): (source)

Undocumented

def _location(stacklevel): (source)

Undocumented

def _raw(level, msg, args=None, kwargs=None): (source)

Undocumented

Undocumented

Value
{Level.CRITICAL: 'CRITICAL',
 Level.ERROR: 'ERROR',
 Level.WARNING: 'WARNING',
 Level.INFO: 'INFO',
 Level.DEBUG: 'DEBUG'}