mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
c/main: Add more logging levels
This commit is contained in:
parent
813487c2f5
commit
39ec39dbee
|
@ -312,6 +312,20 @@ comp_swapchain_really_destroy(struct comp_swapchain *sc);
|
|||
*/
|
||||
#define COMP_DEBUG(c, ...) U_LOG_IFL_D(c->settings.log_level, __VA_ARGS__);
|
||||
|
||||
/*!
|
||||
* Info level logging.
|
||||
*
|
||||
* @relates comp_compositor
|
||||
*/
|
||||
#define COMP_INFO(c, ...) U_LOG_IFL_I(c->settings.log_level, __VA_ARGS__);
|
||||
|
||||
/*!
|
||||
* Warn level logging.
|
||||
*
|
||||
* @relates comp_compositor
|
||||
*/
|
||||
#define COMP_WARN(c, ...) U_LOG_IFL_W(c->settings.log_level, __VA_ARGS__);
|
||||
|
||||
/*!
|
||||
* Mode printing.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue