Log with category APPLICATION
All our logs should use APPLICATION category. The logs for other categories are not printed by default under the "critical" level.
This commit is contained in:
@@ -80,7 +80,7 @@ SDL_bool controller_start(struct controller *controller) {
|
||||
|
||||
controller->thread = SDL_CreateThread(run_controller, "controller", controller);
|
||||
if (!controller->thread) {
|
||||
SDL_LogCritical(SDL_LOG_CATEGORY_SYSTEM, "Could not start controller thread");
|
||||
SDL_LogCritical(SDL_LOG_CATEGORY_APPLICATION, "Could not start controller thread");
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user