NLog Logging Library

NDC Members

NDC overview

Public Static (Shared) Methods

Clear Clears current thread NDC stack.
GetAllMessages Gets all messages on the stack separated by the specified separator.
GetBottomMessages Calculates the string representing count bottommost messages using the specified separator.
GetTopMessage Gets the top NDC message but doesn't remove it.
GetTopMessages Calculates the string representing count topmost messages using the specified separator.
Pop Pops the top message off the NDC stack.
Push Pushes the specified text on current thread NDC.

See Also

NDC Class | NLog Namespace