mirror of
https://github.com/swaywm/sway.git
synced 2025-04-04 11:27:47 +03:00
Add get_log_level() to encapsulate v (current log level)
This patch also makes all global variable in log.c static.
This commit is contained in:
parent
d3c947676d
commit
26842ff383
3 changed files with 9 additions and 6 deletions
|
@ -11,6 +11,7 @@ typedef enum {
|
|||
|
||||
void init_log(log_importance_t verbosity);
|
||||
void set_log_level(log_importance_t verbosity);
|
||||
log_importance_t get_log_level(void);
|
||||
void reset_log_level(void);
|
||||
// returns whether debug logging is on after switching.
|
||||
bool toggle_debug_logging(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue