feat(site-runtime): Log global on ScriptRuntimeContext/ScriptGlobals; runtime lines attributed by TraceStepScope (D4-D6)
This commit is contained in:
@@ -344,6 +344,9 @@ public class ScriptGlobals
|
||||
/// </summary>
|
||||
public AlarmsAccessor Alarms => Instance.Alarms;
|
||||
|
||||
/// <summary>Leveled per-run logging (design 2026-09-09). Usage: <c>Log.Info("…")</c>, <c>Log.Warn("…", ex)</c>. Always reaches the node log; becomes Flow Debugger trace rows only for a traced run.</summary>
|
||||
public ScriptLogger Log => Instance.Log;
|
||||
|
||||
/// <summary>
|
||||
/// Parent composition (null when this script is on a root-level template).
|
||||
/// <c>Parent.Attributes["SpeedRPM"]</c> reaches the parent's attribute;
|
||||
|
||||
Reference in New Issue
Block a user