 | NestedDiagnosticsContextTopObject Property |
Gets the top NDC object but doesn't remove it.
Namespace: NLogAssembly: NLog (in NLog.dll) Version: 4.3.0
Syntaxpublic static Object TopObject { get; }
Public Shared ReadOnly Property TopObject As Object
Get
Return Value
Type:
ObjectThe object at the top of the NDC stack if defined; otherwise
null.
See Also