![]() | NestedDiagnosticsContext Class |
Namespace: NLog
The NestedDiagnosticsContext type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | TopMessage |
Gets the top NDC message but doesn't remove it.
|
![]() ![]() | TopObject |
Gets the top NDC object but doesn't remove it.
|
Name | Description | |
---|---|---|
![]() ![]() | Clear |
Clears current thread NDC stack.
|
![]() ![]() | GetAllMessages |
Gets all messages on the stack.
|
![]() ![]() | GetAllMessages(IFormatProvider) |
Gets all messages from the stack, without removing them.
|
![]() ![]() | GetAllObjects |
Gets all objects on the stack.
|
![]() ![]() | Pop |
Pops the top message off the NDC stack.
|
![]() ![]() | Pop(IFormatProvider) |
Pops the top message from the NDC stack.
|
![]() ![]() | PopObject |
Pops the top object off the NDC stack.
|
![]() ![]() | Push(Object) |
Pushes the specified object on current thread NDC.
|
![]() ![]() | Push(String) |
Pushes the specified text on current thread NDC.
|