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: 19.1.398.0 (19.1.398.0)
public HierarchicalLogger Push()

Return Value

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