mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-27 19:29:16 +00:00
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:
parent
598ddcbfbc
commit
6fe65d9f5c
9 changed files with 34 additions and 34 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue