public class ELKILogRecord
extends java.util.logging.LogRecord
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.| Modifier and Type | Field and Description |
|---|---|
static java.lang.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 java.lang.String |
START_TRACE_AT
Name of this class.
|
| Constructor and Description |
|---|
ELKILogRecord(java.util.logging.Level level,
java.lang.CharSequence msg)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSourceClassName() |
java.lang.String |
getSourceMethodName() |
private void |
inferCallerELKI()
Infer a caller, ignoring logging-related classes.
|
void |
setSourceClassName(java.lang.String sourceClassName) |
void |
setSourceMethodName(java.lang.String sourceMethodName) |
getLevel, getLoggerName, getMessage, getMillis, getParameters, getResourceBundle, getResourceBundleName, getSequenceNumber, getThreadID, getThrown, setLevel, setLoggerName, setMessage, setMillis, setParameters, setResourceBundle, setResourceBundleName, setSequenceNumber, setThreadID, setThrownprivate static final long serialVersionUID
private transient boolean needToInferCaller
public static final java.lang.String[] IGNORE_CLASSES
private static final java.lang.String START_TRACE_AT
public ELKILogRecord(java.util.logging.Level level,
java.lang.CharSequence msg)
level - Message levelmsg - Message contents.public java.lang.String getSourceClassName()
getSourceClassName in class java.util.logging.LogRecordpublic void setSourceClassName(java.lang.String sourceClassName)
setSourceClassName in class java.util.logging.LogRecordpublic java.lang.String getSourceMethodName()
getSourceMethodName in class java.util.logging.LogRecordpublic void setSourceMethodName(java.lang.String sourceMethodName)
setSourceMethodName in class java.util.logging.LogRecordprivate void inferCallerELKI()
Copyright © 2019 ELKI Development Team. License information.