I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit e1385a71 authored by zzz's avatar zzz
Browse files

minor speedup

parent 9cd90b05
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment