We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The NLog LoggerProvider for Microsoft Extension Logging (MEL) has several options:
NLog Extension Logging ver. 1.4.0 adds support for binding the option-properties to appsettings.json:
{ "Logging": { "NLog": { "IncludeScopes": false, "ParseMessageTemplates": false, "CaptureMessageProperties": true } } }
Just make sure to call UseNLog(), or if using AddNLog then add IConfiguration as parameter.
UseNLog()
AddNLog
IConfiguration