|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageFilter
Defines the interface for classes that filter Logger messages.
Messages might be discrimated based on:
| 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. |
| Method Detail |
|---|
boolean accept(int level,
Object source,
String message)
level - the message level.source - the object that invoked message logging.message - the message.
boolean accept(int level,
Object source,
String message,
Throwable throwable)
level - 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 | |||||||||