-
Notifications
You must be signed in to change notification settings - Fork 0
Logging
Danilo Todorović edited this page Mar 31, 2024
·
2 revisions
For logging we use the Log class which is located in the Blazr namespace. There are two loggers:
- Core logger (BLZR_CORE)
- Client logger (BLZR_CLIENT)
To use these loggers, you can use predefined macros:
BLZR_CORE_INFO(message)BLZR_CORE_WARN(message)BLZR_CORE_ERROR(message)BLZR_CORE_FATAL(message)BLZR_CORE_CRITICAL(message)BLZR_CLIENT_INFO(message)BLZR_CLIENT_WARN(message)BLZR_CLIENT_ERROR(message)BLZR_CLIENT_FATAL(message)BLZR_CLIENT_CRITICAL(message)BLZR_CORE_WARN("This is a warning!");