79081789

Date: 2024-10-12 19:56:14
Score: 2
Natty:
Report link

In the following article, you can see how to dynamically set the target db connection string and Logger (namespaces) to log. https://www.c-sharpcorner.com/article/learn-nlog-advanced-usage/

In the current version of NLog, it is a thread-safe or rather a per-request safe because each request will have its own instance of the Logger class.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Oleg23