c/main: Add more logging levels

This commit is contained in:
Jakob Bornecrantz 2020-10-08 14:21:35 +01:00
parent 813487c2f5
commit 39ec39dbee

View file

@ -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.
*