|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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,
CharSequence 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, CharSequence msg)
level
- Message levelmsg
- Message contents.Method Detail |
---|
public String getSourceClassName()
getSourceClassName
in class LogRecord
public void setSourceClassName(String sourceClassName)
setSourceClassName
in class LogRecord
public String getSourceMethodName()
getSourceMethodName
in class LogRecord
public void setSourceMethodName(String sourceMethodName)
setSourceMethodName
in class LogRecord
private final void inferCallerELKI()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |