[pref] more granular sys logs for better performance

This commit is contained in:
Brahim Hadriche committed 2025-06-16 11:30:37 -04:00
1 parent 0fb3759c50
commit 932a629793
4 files changed
+14 -5

No files matched your search

@@ -12,6 +12,14 @@ function Init()
scene = m.top.getScene()
MessagePortUtils.ObserveFieldScopedExSafe(scene, "systemLogEvent", port)
if scene.hasField("enableSystemLogType")
scene.enableSystemLogType = "http.error"
#if DEBUG
scene.enableSystemLogType = "http.connect"
scene.enableSystemLogType = "http.complete"
scene.enableSystemLogType = "bandwidth.minute"
#end if
end if
m.port = port