Reputation: 958
There is a Logger.SetProperty(string propertyKey, object propertyValue)
method. Is there a way to list the properties that have been set on a logger object or see the value of a particular property?
Upvotes: 2
Views: 334
Reputation: 36770
update
This has been added to NLog 4.6.4.
logger.Properties
Original answer
Unfortunately this isn't possible now (NLog 4.6.3)
I've created a feature request and a pull request
Upvotes: 1