What I want to have is a box that displays a list of messages in chronological order (most recent at the bottom) like is common in FTP apps and IDEs. Here's the FileZilla message log:
Example of message log in FileZilla http://img571.imageshack.u开发者_运维问答s/img571/9247/messageloginfilezilla.png
At the moment, I'm getting similar functionality from a read only text box, but this isn't perfect.
Bonus points for the following:
- Context menu has the option of "copy this message"
- Filtering by "level"
- Option to write log to file
You could log into Event Log. It has quite usable interface. You can also use Enterprise Library if you plan to switch to database, file or other logging destination which enterprise library supports
Here is one in WPF made for log4net: C# WPF Log4Net Viewer
Edit:
Log2Console is an utility(winforms) based on ListView control for handling logs during development: Log2Console - A Generic Log Viewer (for Log4Net, NLog...)
精彩评论