What is nlogviewer?

NlogViewer is a ui control library to visualize NLog logs in your personal application. It is mainly based on Sentinel and its controls. supported Frameworks: .NETCoreApp v3.0, .NETCoreApp v3.1, .NET Framework 4.6.1 NlogViewer is subscribing to CacheTarget.

What is nlog?

The focus for NLog: high performance, easy-to-use, easy to extend and flexible to configure. NLog is very easy to configure, both through configuration file and programmatically. Even without restarting the application, the configuration can be changed. Targets are used to display, store or pass log messages to another destination.

How do I customize the loggingpattern and loglevel of the nlogviewer?

By default, the NlogViewer is automatically creating a CacheTarget with loggingPattern “*” and LogLevel “Trace”. If you want to customize the loggingPattern and LogLevel, add the following to your Nlog.config.

What is the best log viewer for a lightweight client application?

I found that for a lightweight client or client/server application using a simplistic, lightweight log viewer like log2console with NLogViewer target ‘ filled with additional parameters fields made it both easy to use/setup and customize, while being readable and easy to find the info I looked for.