aboutsummaryrefslogtreecommitdiff
path: root/util/log.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-03 11:15:12 -0400
committerGitHub <noreply@github.com>2018-09-03 11:15:12 -0400
commit73423c988c864167447cd4292bacd3a248ef07f8 (patch)
treea26a1ab7dd1fea32d39517ec2fbcda30a3138a29 /util/log.c
parentd31a267f36aa23d6ac40709226c0d4a939cf00b4 (diff)
parent6daa69fbf567f8036031867d6767158a0a6e5fe4 (diff)
Merge pull request #1213 from arandomhuman/wlr_log_get_verbosity
Add wlr_log_get_verbosity method
Diffstat (limited to 'util/log.c')
-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;
+}