Update wlr_log_init docs

This commit is contained in:
random human 2018-09-03 16:21:49 +05:30
parent cdf41fa627
commit 6daa69fbf5
No known key found for this signature in database
GPG Key ID: 73E5A60444CC77A3
1 changed files with 2 additions and 0 deletions

View File

@ -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` // Will log all messages less than or equal to `verbosity`
// If `callback` is NULL, wlr will use its default logger. // 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); void wlr_log_init(enum wlr_log_importance verbosity, wlr_log_func_t callback);
// Returns the log verbosity provided to wlr_log_init // Returns the log verbosity provided to wlr_log_init