Skip to content

Commit cca0d13

Browse files
fixing Logging int levels comparisons (#46)
1 parent aed1f99 commit cca0d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laboratory/api-src/org/labkey/api/laboratory/assay/ParserErrors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void addError(String msg)
4949

5050
public void addError(String msg, Level level)
5151
{
52-
if (level.intLevel() >= _threshold.intLevel())
52+
if (level.isMoreSpecificThan(_threshold))
5353
_errors.add(Pair.of(msg, level));
5454
}
5555

0 commit comments

Comments
 (0)