routing.core.verbose#

Verbosity manager class.

class routing.core.verbose.VerboseLevel(value)[source]#

Bases: IntEnum

Set verbosity levels.

DEBUG = 4#
ERROR = 1#
INFO = 3#
SILENT = 0#
TRACE = 5#
WARNING = 2#
class routing.core.verbose.VerboseManager[source]#

Bases: object

Verbosity manager for the whole package.

debug(message: str) None[source]#
enable_file_logging(filename: str = 'app.log') None[source]#

Enable saving logs in file.

error(message: str) None[source]#
info(message: str) None[source]#
set_level(level: int) None[source]#

Set verbosity level.

trace(message: str) bool[source]#
warning(message: str) None[source]#
routing.core.verbose.vdebug(msg: str) None[source]#
routing.core.verbose.verror(msg: str) None[source]#
routing.core.verbose.vinfo(msg: str) None[source]#
routing.core.verbose.vtrace(msg: str) bool[source]#
routing.core.verbose.vwarn(msg: str) None[source]#