diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/log.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h index 806725a6..4b769c93 100644 --- a/include/log.h +++ b/include/log.h @@ -11,6 +11,10 @@ typedef enum { } log_importance_t; void init_log(log_importance_t verbosity); +void set_log_level(log_importance_t verbosity); +void reset_log_level(void); +// returns whether debug logging is on after switching. +bool toggle_debug_logging(void); void sway_log_colors(int mode); void sway_log(log_importance_t verbosity, const char* format, ...) __attribute__((format(printf,2,3))); void sway_log_errno(log_importance_t verbosity, char* format, ...) __attribute__((format(printf,2,3))); |