aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorrandom human <random.bored.human@gmail.com>2018-09-01 15:12:53 +0530
committerrandom human <random.bored.human@gmail.com>2018-09-01 21:03:52 +0530
commite44ab5d5840557491a170af64cf851a9c0f201f2 (patch)
treed8ac6e5a85b86b6a2bd25213b2d2634d257fa441 /util
parentbf670b84c4cf8bd1a2f625308a006a4f8fe0a301 (diff)
Add function wlr_log_get_verbosity()
Returns the verbosity passed to wlr_log_init().
Diffstat (limited to 'util')
-rw-r--r--util/log.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/log.c b/util/log.c
index 754ccfa9..3ef5f484 100644
--- a/util/log.c
+++ b/util/log.c
@@ -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;
+}