Add tracing / debug info for NLog

Hi,

We would like to add tracing (as per this article https://www.componentspace.com/Forums/7936/Enabling-SAML-Trace), but we use NLog and can’t see how we can enable for our existing logging.

Any help appreciated.

Tia.

We use the standard ASP.NET Core logging API. This means that NLog may be used to capture these log entries. Just ensure the “ComponentSpace” logging level is set to debug as described at:

https://www.componentspace.com/Forums/7936/Enabling-SAML-Trace

I replaced the Serilog configuration in the ExampleServiceProvider with NLog and confirmed logging worked as expected.