ErrorLogger: Added severities for inconclusive error and inconclusive warning

This commit is contained in:
Daniel Marjamäki 2011-04-10 16:39:36 +02:00
parent 56212370d1
commit f6b23e1d90
1 changed files with 15 additions and 1 deletions

View File

@ -88,7 +88,13 @@ public:
* Debug message.
* Debug-mode message useful for the developers.
*/
debug
debug,
/** inconclusive error */
inconclusive_error,
/** inconclusive warning */
inconclusive_warning
};
static std::string toString(SeverityType severity)
@ -111,6 +117,10 @@ public:
return "information";
case debug:
return "debug";
case inconclusive_error:
return "inconclusive error";
case inconclusive_warning:
return "inconclusive warning";
};
return "???";
}
@ -134,6 +144,10 @@ public:
return information;
if (severity == "debug")
return debug;
if (severity == "inconclusive error")
return inconclusive_error;
if (severity == "inconclusive warning")
return inconclusive_warning;
return none;
}
};