Skip to content

Commit 3f4abd1

Browse files
authored
fix: console prefix missing (#175)
1 parent 13282a0 commit 3f4abd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NativeScript/runtime/Console.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void Console::LogCallback(const FunctionCallbackInfo<Value>& args) {
6161
std::string level = VerbosityToInspectorVerbosity(verbosityLevel);
6262
v8_inspector::V8LogAgentImpl::EntryAdded(msgToLog, level, "", 0);
6363
std::string msgWithVerbosity = "CONSOLE " + verbosityLevelUpper + ": " + msgToLog;
64-
Log("%s", msgToLog.c_str());
64+
Log("%s", msgWithVerbosity.c_str());
6565
}
6666

6767
void Console::AssertCallback(const FunctionCallbackInfo<Value>& args) {

0 commit comments

Comments
 (0)