mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-01-04 01:23:21 +00:00
1. Updated Helper method for console.log to implement info1 & info2
2. Added more logging to WebRTC 3. Fix edge case when piping RTC DataChannel could result in 100% CPU utilization
This commit is contained in:
@@ -1155,6 +1155,12 @@ void Duktape_Console_Log_ChainEx(duk_context *ctx, ILibDuktape_LogTypes logType,
|
||||
case ILibDuktape_LogType_Warn:
|
||||
duk_get_prop_string(ctx, -1, "warn"); // [g][console][warn]
|
||||
break;
|
||||
case ILibDuktape_LogType_Info1:
|
||||
duk_get_prop_string(ctx, -1, "info1"); // [g][console][warn]
|
||||
break;
|
||||
case ILibDuktape_LogType_Info2:
|
||||
duk_get_prop_string(ctx, -1, "info2"); // [g][console][warn]
|
||||
break;
|
||||
default:
|
||||
duk_get_prop_string(ctx, -1, "log"); // [g][console][log]
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user