Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
void info(Object message) {
if(repository.isDisabled(Level.INFO_INT))
return;
if(Level.INFO.isGreaterOrEqual(this.getEffectiveLevel()))
forcedLog(FQCN, Level.INFO, message, null);
}
@parkercoleman
Copy link
Author

parkercoleman commented Feb 10, 2015

public
boolean isInfoEnabled() {
if(repository.isDisabled(Level.INFO_INT))
return false;
return Level.INFO.isGreaterOrEqual(this.getEffectiveLevel());
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment