HierarchicalLogger.Push 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: 25.1.421.0 (25.1.421.0)
Syntaxpublic 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