Expand description
Forward log messages to logging webxdc
Structsยง
- Debug
Event LogData - Store all information needed to log an event to a webxdc.
- Debug
Logging ๐
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