mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 19:43:11 +00:00
minor speedup
This commit is contained in:
1 parent
9cd90b0530
commit
e1385a71e2
1 file changed
+4
-4
@@ -187,22 +187,22 @@ public class Log {
|
||||
|
||||
/** @since 0.9.20 */
|
||||
public boolean shouldDebug() {
|
||||
return shouldLog(DEBUG);
|
||||
return DEBUG >= _minPriority;
|
||||
}
|
||||
|
||||
/** @since 0.9.20 */
|
||||
public boolean shouldInfo() {
|
||||
return shouldLog(INFO);
|
||||
return INFO >= _minPriority;
|
||||
}
|
||||
|
||||
/** @since 0.9.20 */
|
||||
public boolean shouldWarn() {
|
||||
return shouldLog(WARN);
|
||||
return WARN >= _minPriority;
|
||||
}
|
||||
|
||||
/** @since 0.9.20 */
|
||||
public boolean shouldError() {
|
||||
return shouldLog(ERROR);
|
||||
return ERROR >= _minPriority;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user