Log categories

Default log categories. More...

Macros

#define KZ_LOG_CATEGORY_GENERIC
 Use the generic log category to log messages that you cannot assign to any other log category. More...
 
#define KZ_LOG_CATEGORY_DEBUG_DEFAULT_STATE
 Define this macro to KZ_LOG_ENABLED_CATEGORY or KZ_LOG_DISABLED_CATEGORY to enable or disable KZ_LOG_CATEGORY_DEBUG category. More...
 
#define KZ_LOG_CATEGORY_DEBUG
 Use the debug log category for debug messages only. The state of this category is determined by KZ_LOG_CATEGORY_DEBUG_DEFAULT_STATE. More...
 
#define KZ_LOG_CATEGORY_GRAPHICS_MESH_EXTRA
 The log category for extra graphics mesh log messages. More...
 
#define KZ_LOG_CATEGORY_EGL_EXTRA
 The log category for extra EGL log messages. More...
 

Detailed Description

Default log categories.

Macro Definition Documentation

#define KZ_LOG_CATEGORY_GENERIC

Use the generic log category to log messages that you cannot assign to any other log category.

Always prefer to assign log messages to existing log categories, or define a new log category rather than use the generic log category. The state of this category is determined by KZ_LOG_CATEGORY_GENERIC_DEFAULT_STATE.

#define KZ_LOG_CATEGORY_DEBUG_DEFAULT_STATE

Define this macro to KZ_LOG_ENABLED_CATEGORY or KZ_LOG_DISABLED_CATEGORY to enable or disable KZ_LOG_CATEGORY_DEBUG category.

This macro is used to set the state of the KZ_LOG_CATEGORY_DEBUG. If you do not define this macro before including this header then it will be defined to the value of KZ_LOG_ENABLED_CATEGORY.

#define KZ_LOG_CATEGORY_DEBUG

Use the debug log category for debug messages only. The state of this category is determined by KZ_LOG_CATEGORY_DEBUG_DEFAULT_STATE.

#define KZ_LOG_CATEGORY_GRAPHICS_MESH_EXTRA

The log category for extra graphics mesh log messages.

This category is disabled by default. To enable extra graphics mesh log messages, set the state of this category to KZ_LOG_ENABLED_CATEGORY.

#define KZ_LOG_CATEGORY_EGL_EXTRA

The log category for extra EGL log messages.

This category is disabled by default. To enable extra EGL log messages, set the state of this category to KZ_LOG_ENABLED_CATEGORY.