org.openmdx.kernel.log
Class LogEventFilter

java.lang.Object
  extended by org.openmdx.kernel.log.LogEventFilter

public class LogEventFilter
extends Object


Constructor Summary
LogEventFilter()
          The default log event filter accepts all log events
LogEventFilter(int logLevel, boolean performance, boolean statistics, boolean notification)
          Create a log event filter that accepts specific log events.
 
Method Summary
 int getLoggingLevel()
           
 boolean getNotification()
           
 boolean getPerformance()
           
 boolean getStatistics()
           
 void setLoggingLevel(int level)
           
 void setNotification(boolean val)
           
 void setPerformance(boolean val)
           
 void setStatistics(boolean val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogEventFilter

public LogEventFilter()
The default log event filter accepts all log events


LogEventFilter

public LogEventFilter(int logLevel,
                      boolean performance,
                      boolean statistics,
                      boolean notification)
Create a log event filter that accepts specific log events.

Parameters:
logLevel - Accept all log events with a log level lower than the specified level
performance - Accept/Reject performance log events
statistics - Accept/Reject statistics log events
notification - Accept/Reject notification log events
Method Detail

setLoggingLevel

public void setLoggingLevel(int level)

setPerformance

public void setPerformance(boolean val)

setStatistics

public void setStatistics(boolean val)

setNotification

public void setNotification(boolean val)

getLoggingLevel

public int getLoggingLevel()

getPerformance

public boolean getPerformance()

getStatistics

public boolean getStatistics()

getNotification

public boolean getNotification()


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.