Click here to Skip to main content
15,888,293 members
Articles / Desktop Programming / WPF

LogViewer: A Fast WPF Control Displaying Logging Information

Rate me:
Please Sign up or sign in to vote.
5.00/5 (6 votes)
2 Sep 2022CPOL7 min read 10.8K   14  
Concurrent threads can use LogViewer to show the user scrollable information efficiently
For long running background tasks, it is helpful for the user to know which step is presently executed. LogViewer can collect this information multithreading safe and display it to the user as scrollable text. LogViewer allows the background thread to write formatted text without using any WPF code. When hundreds of messages need to get written per second, WPF would be too slow updating the GUI for each single message. LogViewer collects the messages and sends them 10 times per second to the WPF thread.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Singapore Singapore
Retired SW Developer from Switzerland living in Singapore

Interested in WPF projects.

Comments and Discussions