summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-04-11 18:50:15 +0200
committermathieui <mathieui@mathieui.net>2021-04-11 18:50:31 +0200
commit1640a90a632ebe74a06602adc60fa8f1508fd7e5 (patch)
tree91a93cb99ba9be6f7783ea6e9122186dfe1ad4ed /doc
parent57cd999f7081d94fb1c623665e016576725b5353 (diff)
downloadpoezio-1640a90a632ebe74a06602adc60fa8f1508fd7e5.tar.gz
poezio-1640a90a632ebe74a06602adc60fa8f1508fd7e5.tar.bz2
poezio-1640a90a632ebe74a06602adc60fa8f1508fd7e5.tar.xz
poezio-1640a90a632ebe74a06602adc60fa8f1508fd7e5.zip
feature: add a /debug command to change logging level dynamically
And changing the path too
Diffstat (limited to 'doc')
-rw-r--r--doc/source/commands.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index 2a179b8d..d1763084 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -34,6 +34,12 @@ These commands work in *any* tab.
available commands. If it has a valid command as an argument, this command
will show the usage and the help for the given command.
+ /debug
+ **Usage:** ``/debug [filename]
+
+ Reset logging and enable debugging to ``[filename]``. If the filename
+ is empty, debug logging will be disabled.
+
/join
**Usage:** ``/join [room_name][@server][/nick] [password]``