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()
Public Function Push As HierarchicalLogger
public:
HierarchicalLogger^ Push()
member Push : unit -> HierarchicalLogger
Return Value
Type:
HierarchicalLoggerA new logger than can be used to log data for the sub-task.
See Also