net.sourceforge.acelogger.level.filter
Class AcceptNoneLevelFilter

java.lang.Object
  extended by net.sourceforge.acelogger.level.filter.AcceptNoneLevelFilter
All Implemented Interfaces:
Identifiable, LevelFilter

public class AcceptNoneLevelFilter
extends Object
implements LevelFilter

A filter that accepts no levels.

Since:
1.0.0
Version:
1.0.0
Author:
Zardi (https://sourceforge.net/users/daniel_zardi)

Constructor Summary
AcceptNoneLevelFilter(String identifier)
          Constructs a new link AcceptNoneLevelFilter with the supplied identifier.
 
Method Summary
 String getIdentifier()
          Gets a String that identifies this object.
 boolean isSuitable(LogLevel level)
          Verifies if a log level is suitable for a determined logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcceptNoneLevelFilter

public AcceptNoneLevelFilter(String identifier)
Constructs a new link AcceptNoneLevelFilter with the supplied identifier.

Parameters:
identifier - The identifier for this filter.
Since:
1.0.0
Method Detail

getIdentifier

public final String getIdentifier()
Gets a String that identifies this object.

Specified by:
getIdentifier in interface Identifiable
Returns:
The identifier of this object.

isSuitable

public boolean isSuitable(LogLevel level)
Verifies if a log level is suitable for a determined logger.

Specified by:
isSuitable in interface LevelFilter
Parameters:
level - The log level to test.
Returns:
True if the logger accepts this level; False otherwise.


Copyright © 2007-2010 The AceLogger Team. All Rights Reserved.