Implement debuglog command

Add debuglog command that takes toggle|on|off. Add get_debug_logging()
to be able to toggle. Make t/187-commands-parser.t expect 'debuglog'.
Document the debuglog command in userguide.
This commit is contained in:
Alexander Berntsen
2013-06-05 15:06:53 +02:00
committed by Michael Stapelberg
parent 6241419c86
commit 023594909e
7 changed files with 67 additions and 1 deletions

View File

@ -277,4 +277,10 @@ void cmd_bar(I3_CMD, char *bar_type, char *bar_value, char *bar_id);
*/
void cmd_shmlog(I3_CMD, char *argument);
/*
* Implementation of 'debuglog toggle|on|off'
*
*/
void cmd_debuglog(I3_CMD, char *argument);
#endif