Code example for LogRecord

Methods: getLevel

0
  public MaxLevelFilter(Level maxLevel) {
    this.maxLevel = maxLevel;
  } 
 
  public boolean isLoggable(LogRecord record) {
    return record.getLevel().intValue() <= maxLevel.intValue();
  } 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java