File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ void Console::Init(Local<Context> context) {
3535}
3636
3737void Console::LogCallback (const FunctionCallbackInfo<Value>& args) {
38+ // TODO: implement 'forceLog' override option like android has, to force logs in prod if desired
3839 if (!RuntimeConfig.LogToSystemConsole ) {
3940 return ;
4041 }
@@ -59,8 +60,8 @@ void Console::LogCallback(const FunctionCallbackInfo<Value>& args) {
5960
6061 std::string level = VerbosityToInspectorVerbosity (verbosityLevel);
6162 v8_inspector::V8LogAgentImpl::EntryAdded (msgToLog, level, " " , 0 );
62- std::string msgWithVerbosity = " CONSOLE " + verbosityLevelUpper + " : " + msgToLog;
63- Log (" %s" , msgWithVerbosity .c_str ());
63+ // std::string msgWithVerbosity = "CONSOLE " + verbosityLevelUpper + ": " + msgToLog;
64+ Log (" %s" , msgToLog .c_str ());
6465}
6566
6667void Console::AssertCallback (const FunctionCallbackInfo<Value>& args) {
You can’t perform that action at this time.
0 commit comments