From f88b454e9eaabb26ba60c030af6a2b1bf3cfd08a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Thu, 12 Dec 2019 16:10:01 +0800 Subject: [PATCH] change log prefix --- doric/driver/native_driver.cpp | 2 +- doric/native/native_bridge.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doric/driver/native_driver.cpp b/doric/driver/native_driver.cpp index 9f479952..5603e2ed 100644 --- a/doric/driver/native_driver.cpp +++ b/doric/driver/native_driver.cpp @@ -39,7 +39,7 @@ void NativeDriver::invokeContextEntityMethod(int contextId, QString* method, ... .property(Constant::GLOBAL_DORIC) .property(Constant::DORIC_CONTEXT_INVOKE) .call(*arguments); - qDebug() << result.toString(); + qDebug() << "invokeContextEntityMethod: " + result.toString(); delete arguments; } diff --git a/doric/native/native_bridge.h b/doric/native/native_bridge.h index e64a64c2..a0bfc26b 100644 --- a/doric/native/native_bridge.h +++ b/doric/native/native_bridge.h @@ -11,7 +11,7 @@ public: NativeBridge(QObject *parent = nullptr) : QObject(parent) {} Q_INVOKABLE void function(int contextId) { - qDebug() << contextId; + qDebug() << "contextId: " + QString::number(contextId); } };