Is there a pattern or logical structure I can follow for Event Log Numbers?

Posted by makerofthings7 on Programmers See other posts from Programmers or by makerofthings7
Published on 2012-06-15T14:06:38Z Indexed on 2012/06/15 15:26 UTC
Read the original article Hit count: 192

Filed under:
|

What are some ideas or structure I can use when assigning EventID to events that will be saved to the Event Log?

Some options I've considered

  • Sequential (0... int.Max)
  • Multiple of 10, where the "0" is replaced with how noisy the debugLevel is set.
    xxx0 may represent exceptions, critical information, start, stop etc.
  • ...?

What numbering approach gives you the most insight when a user describes the event in an email or phone?

What is the most useful to support staff?

© Programmers or respective owner

Related posts about design-patterns

Related posts about logging