- Make sure the information logged is effective and really help us identify and fix the defect
- Make sure the logging is used in the right place
- Make sure logging is enabled only if a defect is reported
Note: In multi threaded application make sure “all the threads” log their code flow.
Rule: Log effective and useful information.
Rule: Log at the right place.
Rule: Support enabling and disabling of logging.
No comments:
Post a Comment