public virtual bool IsLoggable(LogRecord logrecord) { if (theLevel.IntValue() != Level.OFF.IntValue() && logrecord.GetLevel().IntValue() >= theLevel.IntValue() && (theFilter == null || theFilter.IsLoggable(logrecord))) { return(true); } return(false); }
public bool IsLoggable(Level level) { return(level.IntValue() >= this.GetEffectiveLevel().IntValue()); }