mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
minor speedup
This commit is contained in:
@@ -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