Click or drag to resize

HierarchicalLoggerPush Method

Begins a new sub-task. Multiple sub-tasks can log in parallel and their output will be serialized in the log file. In other words, the log file will contain the entire output from one sub-task followed by the entire output from the next sub-task. You must call Pop or Dispose on the returned instance when the sub-task completes.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public HierarchicalLogger Push()

Return Value

Type: HierarchicalLogger
A new logger than can be used to log data for the sub-task.
See Also