aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/common
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-04 23:16:28 -0400
committerGitHub <noreply@github.com>2017-06-04 23:16:28 -0400
commit6298351d8346482563c8bd6cb628c2293901daf4 (patch)
tree8d53e057d8829dde75870c8390e0e9d33ff59d21 /include/wlr/common
parente1c09d8b05e2f1b9c7230b0c2167acfbd74fbded (diff)
parentb537656b4b09717da3255c1ce8121c4becfa9de5 (diff)
Merge pull request #7 from ascent12/logging
Logging improvements
Diffstat (limited to 'include/wlr/common')
-rw-r--r--include/wlr/common/log.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/wlr/common/log.h b/include/wlr/common/log.h
index 079f989a..c93f9652 100644
--- a/include/wlr/common/log.h
+++ b/include/wlr/common/log.h
@@ -8,10 +8,12 @@ typedef enum {
L_ERROR = 1,
L_INFO = 2,
L_DEBUG = 3,
+ L_LAST,
} log_importance_t;
typedef void (*log_callback_t)(log_importance_t importance, const char *fmt, va_list args);
-void init_log(log_callback_t callback);
+void wlr_init_log(log_callback_t callback);
+void wlr_log_stderr(log_importance_t verbosity, const char *fmt, va_list args);
#endif