Closed Bequen closed 2 weeks ago
Create a log callback function pointer.
lft_log_callback(lft::dbg::LogMessageSeverity, lft::dbg::LogMessageType, const char* __foramt, va_list args);
Log only exceptional events. At runtime loop only log irregular events:
When no logging is done, success should be expected. Knowing that swapchain was created successfully etc. but it tells zero information.
Separate logging to diferrent levels, so that it can be filtered at runtime and compile time.
Log callback
Create a log callback function pointer.
lft_log_callback(lft::dbg::LogMessageSeverity, lft::dbg::LogMessageType, const char* __foramt, va_list args);
General rules:
Log only exceptional events. At runtime loop only log irregular events:
When no logging is done, success should be expected. Knowing that swapchain was created successfully etc. but it tells zero information.
Log levels
Separate logging to diferrent levels, so that it can be filtered at runtime and compile time.