org.openmdx.kernel.log
Class LogEventFilter
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 levelperformance - Accept/Reject performance log eventsstatistics - Accept/Reject statistics log eventsnotification - Accept/Reject notification log events
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.