From e44ab5d5840557491a170af64cf851a9c0f201f2 Mon Sep 17 00:00:00 2001 From: random human Date: Sat, 1 Sep 2018 15:12:53 +0530 Subject: Add function wlr_log_get_verbosity() Returns the verbosity passed to wlr_log_init(). --- util/log.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util') 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; +} -- cgit v1.2.3