Checkstyle only put the severity in the error log when
the severity is a warning.
"8:57: warning: Unused parameter 'aUnreadPrimitive'."
For info and error, the severity is not mentionned. You
"8:57: Unused parameter 'aUnreadPrimitive'."
The sadly prevent from easily parsing the report when
looking for error or info. I fixed this in the provided diff
(pretty easy, one line of code).
There are two drawbacks to this fix.
First, I don't know how much it is backward compatible
for people having developed a report parser (but I think
it should not change anything. And they probably use
the xml report which contains the severity level anyway).
Second, all check tests should be modified to
include "error: " in the expected result. I am really willing
to provide a diff fixing all tests if needed.
One solution to prevent the drawbacks is to add an
attribute to the checks which will mean to by default
only add "warning:" and if overriden, show all severity.