Created on: Jul 20, 2009 Author: tobi
Loggging Levels
Here some guideline to choose the right logging level to keep consistent throughout the program.
- TRACE: Very verbatim (debug purpose) infos, like protocol, telegramms, low level data .... This level should be used to gather every information that might be needed to debug problems... Milestones during execution also counts to this. The goal is to find out whats happening if debugging some rare problems.
- DEBUG: "Regular" Debug infos, like tracepoints, unusual program flow detection, etc. Detected problems that are likely a programming problem....
- INFO: Verbatim information targeted to the user, showing details of the program flow, but not too much details. (showing when talking to a inverter, ...)
- WARN: This level indicates a minor problems, caused by external events. Usually some functions might be temporary not available.
- ERROR: The program cannot function under this circumstances. The feature imposed will not be available until the reason is fixed and the program restarted. The program can usually continue to execute, but with the limitations.
- FATAL: The program detected a problem which makes it impossible to continue. The program will usually call abort() after FATAL.
Definition in file ILogger.h.