Skip to content

Commit

Permalink
fix: console prefix missing (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
rigor789 authored Jul 23, 2022
1 parent 13282a0 commit 3f4abd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NativeScript/runtime/Console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void Console::LogCallback(const FunctionCallbackInfo<Value>& 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<Value>& args) {
Expand Down

0 comments on commit 3f4abd1

Please sign in to comment.