JBoss Log Manager 1.2.0.GA

org.jboss.logmanager.filters
Class AcceptAllFilter

java.lang.Object
  extended by org.jboss.logmanager.filters.AcceptAllFilter
All Implemented Interfaces:
Filter

public final class AcceptAllFilter
extends Object
implements Filter

An accept-all filter.


Method Summary
static AcceptAllFilter getInstance()
          Get the filter instance.
 boolean isLoggable(LogRecord record)
          Always returns true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isLoggable

public boolean isLoggable(LogRecord record)
Always returns true.

Specified by:
isLoggable in interface Filter
Parameters:
record - ignored
Returns:
true

getInstance

public static AcceptAllFilter getInstance()
Get the filter instance.

Returns:
the filter instance

JBoss Log Manager 1.2.0.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.