Android: fix log output pattern
Remove hardcoded android log pattern as this is already part of the message to match behavior on other platforms. Task-number: QTBUG-69450 Change-Id: I529b550114a2164beafe305f8392891c4ead88f0 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
parent
857a0d4c51
commit
3ed8dc3788
@ -1666,9 +1666,7 @@ static bool android_default_message_handler(QtMsgType type,
|
|||||||
case QtFatalMsg: priority = ANDROID_LOG_FATAL; break;
|
case QtFatalMsg: priority = ANDROID_LOG_FATAL; break;
|
||||||
};
|
};
|
||||||
|
|
||||||
__android_log_print(priority, qPrintable(QCoreApplication::applicationName()),
|
__android_log_print(priority, qPrintable(QCoreApplication::applicationName()), "%s\n", qPrintable(formattedMessage));
|
||||||
"%s:%d (%s): %s\n", context.file, context.line,
|
|
||||||
context.function, qPrintable(formattedMessage));
|
|
||||||
|
|
||||||
return true; // Prevent further output to stderr
|
return true; // Prevent further output to stderr
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user