|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RootMessageLogger
The RootMessageLogger is used by the LogActors to query if logging is enabled for the requested message and to provide the actual message that should be logged.
Method Summary | |
---|---|
boolean |
isEnabled()
Determine whether the MessageLogger is enabled |
boolean |
isMessageEnabled(LogActor actor,
LogSubject subject,
String logHierarchy)
Determine if the LogSubject and the LogActor should be generating log messages. |
boolean |
isMessageEnabled(LogActor actor,
String logHierarchy)
Determine if the LogActor should be generating log messages. |
void |
rawMessage(String message,
String logHierarchy)
Log the raw message to the configured logger. |
void |
rawMessage(String message,
Throwable throwable,
String logHierarchy)
Log the raw message to the configured logger. |
Method Detail |
---|
boolean isEnabled()
boolean isMessageEnabled(LogActor actor, LogSubject subject, String logHierarchy)
actor
- The actor requesting the loggingsubject
- The subject of this log requestlogHierarchy
- The log hierarchy for this request
boolean isMessageEnabled(LogActor actor, String logHierarchy)
actor
- The actor requesting the logginglogHierarchy
- The log hierarchy for this request
void rawMessage(String message, String logHierarchy)
message
- The message to loglogHierarchy
- The log hierarchy for this requestvoid rawMessage(String message, Throwable throwable, String logHierarchy)
message
- The message to logthrowable
- Optional Throwable that should provide stact tracelogHierarchy
- The log hierarchy for this request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |