Module debug_logging

Source
Expand description

Forward log messages to logging webxdc

Structsยง

DebugEventLogData
Store all information needed to log an event to a webxdc.
DebugLogging ๐Ÿ”’

Functionsยง

debug_logging_loop
Creates a loop which forwards all log messages send into the channel to the associated logging xdc.
maybe_set_logging_xdc
Set message as new logging webxdc if filename and chat_id fit
maybe_set_logging_xdc_inner
Set message as new logging webxdc if filename and chat_id fit
set_debug_logging_xdc ๐Ÿ”’
Set the webxdc contained in the msg as the current logging xdc on the context and save it to db If id is a None value, disable debug logging