Created
February 10, 2015 18:44
-
-
Save parkercoleman/7af9215ac6fc7a9efac6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void info(Object message) { | |
if(repository.isDisabled(Level.INFO_INT)) | |
return; | |
if(Level.INFO.isGreaterOrEqual(this.getEffectiveLevel())) | |
forcedLog(FQCN, Level.INFO, message, null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
public
boolean isInfoEnabled() {
if(repository.isDisabled(Level.INFO_INT))
return false;
return Level.INFO.isGreaterOrEqual(this.getEffectiveLevel());
}