fixup! [android] Use android logger (#585) (#2488)

clang-format
This commit is contained in:
Charles Kerr 2022-01-23 21:53:49 -06:00 committed by GitHub
parent d8dfbbe2d2
commit 43bd736eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,6 @@
using namespace std::literals;
tr_log_level __tr_message_level = TR_LOG_ERROR;
static bool myQueueEnabled = false;
@ -237,17 +236,18 @@ void tr_logAddMessage(char const* file, int line, tr_log_level level, char const
int prio;
switch (level) {
case TR_LOG_ERROR:
switch (level)
{
case TR_LOG_ERROR:
prio = ANDROID_LOG_ERROR;
break;
case TR_LOG_INFO:
case TR_LOG_INFO:
prio = ANDROID_LOG_INFO;
break;
case TR_LOG_DEBUG:
case TR_LOG_DEBUG:
prio = ANDROID_LOG_DEBUG;
break;
default:
default:
prio = ANDROID_LOG_VERBOSE;
}