aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandom human <random.bored.human@gmail.com>2018-09-03 16:21:49 +0530
committerrandom human <random.bored.human@gmail.com>2018-09-03 17:34:08 +0530
commit6daa69fbf567f8036031867d6767158a0a6e5fe4 (patch)
tree9961c6c38aa914299e169372e6f371ce896e1202
parentcdf41fa627dc5e226d3da2b91c1fa78fc2fc956d (diff)
Update wlr_log_init docs
-rw-r--r--include/wlr/util/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/util/log.h b/include/wlr/util/log.h
index 0d659780..2c441180 100644
--- a/include/wlr/util/log.h
+++ b/include/wlr/util/log.h
@@ -35,6 +35,8 @@ typedef void (*wlr_log_func_t)(enum wlr_log_importance importance,
// Will log all messages less than or equal to `verbosity`
// If `callback` is NULL, wlr will use its default logger.
+// The function can be called multiple times to update the verbosity or
+// callback function.
void wlr_log_init(enum wlr_log_importance verbosity, wlr_log_func_t callback);
// Returns the log verbosity provided to wlr_log_init