mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-11 13:29:45 -05:00
Logging improvements
This commit is contained in:
parent
e1c09d8b05
commit
cf07a9fc4f
4 changed files with 41 additions and 61 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue