|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EmbeddedLogger
Custom logging interface that provides a hook for custom implementations to log messages produced by MM Query.
Field Summary | |
---|---|
static int |
CRITICAL
Message level value that specifies that critical messages are to be recorded. |
static int |
DETAIL
Message level value that specifies that detailed, information, warning, error and critical messages are to be recorded. |
static int |
ERROR
Message level value that specifies that error messages and critical messages are to be recorded. |
static int |
INFO
Message level value that specifies that information, warning, error and critical messages are to be recorded. |
static int |
NONE
Message level value that specifies that no messages are to be recorded. |
static int |
TRACE
Message level value that specifies that all messages are to be recorded. |
static int |
WARNING
Message level value that specifies that warning, error and critical messages are to be recorded. |
Method Summary | |
---|---|
void |
log(int logLevel,
long timestamp,
java.lang.String componentName,
java.lang.String threadName,
java.lang.String message,
java.lang.Throwable throwable)
Logs the given message if the current logging level is >= the logLevel parameter. |
Field Detail |
---|
static final int NONE
static final int CRITICAL
static final int ERROR
static final int WARNING
static final int INFO
static final int DETAIL
static final int TRACE
Method Detail |
---|
void log(int logLevel, long timestamp, java.lang.String componentName, java.lang.String threadName, java.lang.String message, java.lang.Throwable throwable)
logLevel
- logging level for this messagetimestamp
- timestamp at which this log message was generatedcomponentName
- name of the component that generated this messagethreadName
- name of the thread that generated this messagemessage
- message body. May be null.throwable
- exception thrown. May be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |