|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectjava.util.logging.LogRecord
de.lmu.ifi.dbs.elki.logging.ELKILogRecord
public class ELKILogRecord
Base LogRecord class used in ELKI.
In contrast to the 'original' LogRecord class, this class will ignore
additional classes when determining the 'origin' of a log message.
| Field Summary | |
|---|---|
static String[] |
IGNORE_CLASSES
Classes to ignore when finding the relevant caller. |
private boolean |
needToInferCaller
Flag whether we still need to infer the caller. |
private static long |
serialVersionUID
Serial Version UID |
private static String |
START_TRACE_AT
Name of this class. |
| Constructor Summary | |
|---|---|
ELKILogRecord(Level level,
String msg)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getSourceClassName()
|
String |
getSourceMethodName()
|
private void |
inferCallerELKI()
Infer a caller, ignoring logging-related classes. |
void |
setSourceClassName(String sourceClassName)
|
void |
setSourceMethodName(String sourceMethodName)
|
| Methods inherited from class java.util.logging.LogRecord |
|---|
getLevel, getLoggerName, getMessage, getMillis, getParameters, getResourceBundle, getResourceBundleName, getSequenceNumber, getThreadID, getThrown, setLevel, setLoggerName, setMessage, setMillis, setParameters, setResourceBundle, setResourceBundleName, setSequenceNumber, setThreadID, setThrown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private transient boolean needToInferCaller
public static final String[] IGNORE_CLASSES
private static final String START_TRACE_AT
| Constructor Detail |
|---|
public ELKILogRecord(Level level,
String msg)
level - Message levelmsg - Message contents.| Method Detail |
|---|
public String getSourceClassName()
getSourceClassName in class LogRecordpublic void setSourceClassName(String sourceClassName)
setSourceClassName in class LogRecordpublic String getSourceMethodName()
getSourceMethodName in class LogRecordpublic void setSourceMethodName(String sourceMethodName)
setSourceMethodName in class LogRecordprivate final void inferCallerELKI()
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||