Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 34865

Computer data logging is the process of recording events in a computer program, usually with a certain scope, in order to provide an audit trail that can be used to understand the activity of the system and to diagnose problems.

3 votes

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

Event ID, along with the Source, should uniquely identify each event. That means that your support person when told the source / number should know what error has occurred and the steps that need to …
briddums's user avatar
  • 578
1 vote

Rules and advice for logging?

In addition to logging the Class / Method that raised the error, it would be useful to also log the parameters passed into that method. … I've also found it useful to have a variable which defines the default level of logging for an application. That way you can have DEBUG and INFO code alongside WARNING and ERROR code. …
briddums's user avatar
  • 578