Menu

#19 Verify formatted log message inspection not working with SL4FJ markers

v1.0.11
open
None
5
2014-11-27
2013-08-05
Mark V
No

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.

Discussion

  • Jürgen Kellerer

    Thanks for the ticket! I'll take a look into this.

     
  • Jürgen Kellerer

    • assigned_to: Jürgen Kellerer
     

Log in to post a comment.

MongoDB Logo MongoDB