Small fixes in androidlogging.h

This commit is contained in:
Bart De Vries 2021-06-19 15:35:56 +02:00
parent 70024b0865
commit bd738610bc
1 changed files with 5 additions and 0 deletions

View File

@ -6,11 +6,16 @@
#pragma once
#include <QByteArray>
#include <QString>
#include <android/log.h>
const char *applicationName = "org.kde.kasts";
void myMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg)
{
Q_UNUSED(context)
QByteArray localMsg = msg.toLocal8Bit();
// const char *file = context.file ? context.file : "";
// const char *function = context.function ? context.function : "";