NLog
Route .NET application logs to files, consoles, or in-memory targets.
NLog · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
Add NLog 6.2.2 to a .NET project. Capture a sample log event in memory and inspect its message.
What we tested
6.2.2. Capture a sample log event in memory and inspect its message. The memory target recorded the exact sample total message.