ErrorLogger: Added severities for inconclusive error and inconclusive warning
This commit is contained in:
parent
56212370d1
commit
f6b23e1d90
|
@ -88,7 +88,13 @@ public:
|
||||||
* Debug message.
|
* Debug message.
|
||||||
* Debug-mode message useful for the developers.
|
* Debug-mode message useful for the developers.
|
||||||
*/
|
*/
|
||||||
debug
|
debug,
|
||||||
|
|
||||||
|
/** inconclusive error */
|
||||||
|
inconclusive_error,
|
||||||
|
|
||||||
|
/** inconclusive warning */
|
||||||
|
inconclusive_warning
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string toString(SeverityType severity)
|
static std::string toString(SeverityType severity)
|
||||||
|
@ -111,6 +117,10 @@ public:
|
||||||
return "information";
|
return "information";
|
||||||
case debug:
|
case debug:
|
||||||
return "debug";
|
return "debug";
|
||||||
|
case inconclusive_error:
|
||||||
|
return "inconclusive error";
|
||||||
|
case inconclusive_warning:
|
||||||
|
return "inconclusive warning";
|
||||||
};
|
};
|
||||||
return "???";
|
return "???";
|
||||||
}
|
}
|
||||||
|
@ -134,6 +144,10 @@ public:
|
||||||
return information;
|
return information;
|
||||||
if (severity == "debug")
|
if (severity == "debug")
|
||||||
return debug;
|
return debug;
|
||||||
|
if (severity == "inconclusive error")
|
||||||
|
return inconclusive_error;
|
||||||
|
if (severity == "inconclusive warning")
|
||||||
|
return inconclusive_warning;
|
||||||
return none;
|
return none;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue