Verify formatted log message inspection not working with SL4FJ markers
Status: Beta
Brought to you by:
jkellerer
The "Verify formatted log message" inspections fails to identify missing arguments when used with the log methods that take a Marker as the initial argument. For example, this line
log.info("foo = {}");
is correctly highlighted as missing an argument. But the log line in this block
Marker marker = MarkerFactory.getMarker("bar");
log.info(marker, "foo = {}");
is not highlighted as missing an argument.
Thanks for the ticket! I'll take a look into this.