Render a property of an object.
Introducted in NLog 4.6.7
Platforms Supported: All
${object-path:${exception}:path=String:Format=String:Culture=String} ${exception:objectpath=String} // Ambient way
Assume we catch new ExternalException("Exception with errorCode", 5000)
new ExternalException("Exception with errorCode", 5000)
${exception:objectpath=HResult} // results in 5000 ${object-path:${exception}:path=HResult:Culture=NL-nl:format=N2}"; // results in 5.000,00
There was an error while loading. Please reload this page.