error logger: explain the severities better

This commit is contained in:
Daniel Marjamäki 2011-03-06 14:26:02 +01:00
parent 080603148c
commit 10db7c4a48
1 changed files with 6 additions and 0 deletions

View File

@ -47,14 +47,20 @@ public:
/** /**
* Programming error. * Programming error.
* This indicates severe error like memory leak etc. * This indicates severe error like memory leak etc.
* The error is certain.
*/ */
error, error,
/** /**
* Warning. * Warning.
* Used for dangerous coding style that can cause severe runtime errors.
* For example: forgetting to initialize a member variable in a constructor.
*/ */
warning, warning,
/** /**
* Style warning. * Style warning.
* Used for general code cleanup recommendations. Fixing these
* will not fix any bugs but will make the code easier to maintain.
* For example: redundant code, unreachable code, etc.
*/ */
style, style,
/** /**