NLog – split trace logging into its own file

This article explains how to configure NLog so that trace-level log messages go to their own file. This approach only requires modifying the nlog.config file, and doesn’t require any code changes. In the end, all levels above Trace – Debug, Error, Warn, Info – will go into one log file and all trace-level messages will … Read more NLog – split trace logging into its own file

How to trace log method calls, including the parameter values

I want to log method calls, including their parameter names and values, and what called the method. I want to minimize the amount of coding involved. For example: What options are available? Aspect-Oriented Programming (AOP) approach that proxies your method calls. It logs the method calls, and then calls your method. In .NET, you can … Read more How to trace log method calls, including the parameter values