Add function wlr_log_get_verbosity()

Returns the verbosity passed to wlr_log_init().
This commit is contained in:
random human 2018-09-01 15:12:53 +05:30
parent bf670b84c4
commit e44ab5d584
No known key found for this signature in database
GPG key ID: 73E5A60444CC77A3
2 changed files with 7 additions and 0 deletions

View file

@ -85,3 +85,7 @@ const char *_wlr_strip_path(const char *filepath) {
}
return filepath;
}
enum wlr_log_importance wlr_log_get_verbosity(void) {
return log_importance;
}