From 3f4abd1e8187d783b10377f9380f46c43135f824 Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Sat, 23 Jul 2022 17:49:52 +0200 Subject: [PATCH] fix: console prefix missing (#175) --- NativeScript/runtime/Console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NativeScript/runtime/Console.cpp b/NativeScript/runtime/Console.cpp index 031f54a7..468c2891 100644 --- a/NativeScript/runtime/Console.cpp +++ b/NativeScript/runtime/Console.cpp @@ -61,7 +61,7 @@ void Console::LogCallback(const FunctionCallbackInfo& args) { std::string level = VerbosityToInspectorVerbosity(verbosityLevel); v8_inspector::V8LogAgentImpl::EntryAdded(msgToLog, level, "", 0); std::string msgWithVerbosity = "CONSOLE " + verbosityLevelUpper + ": " + msgToLog; - Log("%s", msgToLog.c_str()); + Log("%s", msgWithVerbosity.c_str()); } void Console::AssertCallback(const FunctionCallbackInfo& args) {