Category
NLog
NLog is a flexible .NET logging framework supporting multiple targets like files, databases, and email with rich configuration.
2 articlesHow to Configure NLog to Log to File, Database, and Send Email
2015/05/01·1 min readThis blog shows an example of how to configure NLog to log to a file, a database, and trigger a class call.
Override Connection String at NLog Config Setting
2015/05/01·1 min readYou can define log-to-database settings in NLog, but you can't change the connection string depending on your environment. This blog shows how to change the connection string in C# based on your environment.