Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Log Message display control

Log Message display control

Scheduled Pinned Locked Moved C#
csharpdatabasewinformsdesignperformance
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HerbCSO
    wrote on last edited by
    #1

    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? ;]

    S 1 Reply Last reply
    0
    • H HerbCSO

      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? ;]

      S Offline
      S Offline
      Sanjib Raj
      wrote on last edited by
      #2

      should try to writing Log using Named Pipe and Display in Listview Control. thanks sanjit.rajbanshi@wlinktech.com

      H 1 Reply Last reply
      0
      • S Sanjib Raj

        should try to writing Log using Named Pipe and Display in Listview Control. thanks sanjit.rajbanshi@wlinktech.com

        H Offline
        H Offline
        HerbCSO
        wrote on last edited by
        #3

        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? ;]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups