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:
Romain Vimont 2018-02-12 16:06:53 +01:00
commit 6fe65d9f5c
9 changed files with 34 additions and 34 deletions

View file

@ -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;
}