|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.core.log.StandardMessageFilter
Standard implementation of the MessageFilter interface which simply accepts all messages.
| Method Summary | |
boolean |
accept(int level,
Object source,
String message)
Tests whether or not the specified message should be logged. |
boolean |
accept(int level,
Object source,
String message,
Throwable throwable)
Tests whether or not the specified message should be logged. |
static MessageFilter |
getInstance()
Get the singleton instance of the StandardMessageFilter object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final MessageFilter getInstance()
public boolean accept(int level,
Object source,
String message)
accept in interface MessageFilterlevel - the message level.source - the object that invoked message logging.message - the message.
public boolean accept(int level,
Object source,
String message,
Throwable throwable)
accept in interface MessageFilterlevel - the message level.source - the object that invoked message logging.message - the message.throwable - the Exception or Error.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||