twtb.logic.shared.logging#

Module for logging config section.

Module Contents#

Classes#

LogLevel

Log level for the addon.

LoggingConfigSection

Part of config for logging.

class LogLevel[source]#

Bases: enum.IntEnum

Log level for the addon.

TRACE = 5[source]#

Use only for tracing error without a debugger.

DEBUG = 10[source]#
INFO = 20[source]#
SUCCESS = 25[source]#
WARNING = 30[source]#
ERROR = 40[source]#
CRITICAL = 50[source]#
class LoggingConfigSection[source]#

Part of config for logging.

level: LogLevel[source]#

Log level for the app.

json: bool = False[source]#

Transform logs into JSON.