Log Message display control
-
I'm looking to write a control (C#, Windows Forms, .Net 2.0) for displaying log messages. It should have to following characteristics: 1. Fast! Need to show lots of messages whizzing by in real-time - hundreds or more per second - messages will come out of a web service and I will need to query time ranges to replace existing messages in the control with, e.g. I'm currently showing messages from 10:00am until 11:00am, more messages come in and I now want my window to be 10:05 until 11:05. 2. Columns resizeable (need at least 4 columns) 3. Filter messages based on column content, need to be able to display +/-x number of messages before and after filtered message so that context becomes clear 4. Color coding of log messages based on similar filter criteria as in 3. What I'm looking for is suggestions of what would be best to extend, how to approach the design, etc. I've started to look into the DataGridView control to see if that might serve my needs, but I'm not terrifically happy with performance so far. Any suggestions/pointers/opinions appreciated!
-- Umm... what's a .sig? ;]
-
I'm looking to write a control (C#, Windows Forms, .Net 2.0) for displaying log messages. It should have to following characteristics: 1. Fast! Need to show lots of messages whizzing by in real-time - hundreds or more per second - messages will come out of a web service and I will need to query time ranges to replace existing messages in the control with, e.g. I'm currently showing messages from 10:00am until 11:00am, more messages come in and I now want my window to be 10:05 until 11:05. 2. Columns resizeable (need at least 4 columns) 3. Filter messages based on column content, need to be able to display +/-x number of messages before and after filtered message so that context becomes clear 4. Color coding of log messages based on similar filter criteria as in 3. What I'm looking for is suggestions of what would be best to extend, how to approach the design, etc. I've started to look into the DataGridView control to see if that might serve my needs, but I'm not terrifically happy with performance so far. Any suggestions/pointers/opinions appreciated!
-- Umm... what's a .sig? ;]
should try to writing Log using Named Pipe and Display in Listview Control. thanks sanjit.rajbanshi@wlinktech.com
-
should try to writing Log using Named Pipe and Display in Listview Control. thanks sanjit.rajbanshi@wlinktech.com
Unfortunately I don't have to luxury of using Named Pipe - the messages are coming out of another app I have no control over and I have to use a web service. But I agree with you in principle... ;] I'll look into ListView. Not sure it'll meet all my criteria yet, but thanks for the suggestion!
-- Umm... what's a .sig? ;]