Logging is a very important aspect of writing mature applications. Although errors should always be logged to a file on disk, it can be very useful to be able to view the logging at runtime while running an application. This proves very useful when analyzing issues on the computer of an end-user.
This is a very short post because the component is extremely easy to use. Just drop the control on a window or show the log viewer window. The log viewer control has the following features:
- Toggle errors, warnings, info and debug messages
- Toggle timestamp
- Search on any text in the log messages
- Filter by type name
- Copy to clipboard