Package rma.util.logging
Class StackFilteringFormatter
java.lang.Object
java.util.logging.Formatter
rma.util.logging.CustomFormatter
rma.util.logging.StackFilteringFormatter
-
Field Summary
Fields inherited from class rma.util.logging.CustomFormatter
DATE_FORMAT, DEFAULT_FORMAT, nullElement, useReflective
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StackTraceElement
findCallingElement
(Set<String> ignoreClassnames) protected StringBuffer
getEclipseFormat
(StringBuffer sb, Set<String> ignoreInStack2) getEclipseFormat
(LogRecord logRecord, StringBuffer sb) Returns caller location information in eclipse format eg (Filename.java:23) WARNING Generating caller location information is slow.Methods inherited from class rma.util.logging.CustomFormatter
appendEclipseFormat, findCallingElement, format, formatMessage, getStackTraceDepth, getStackTraceElement, getThrowableMessage, useReflection
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
-
Constructor Details
-
StackFilteringFormatter
public StackFilteringFormatter()
-
-
Method Details
-
getEclipseFormat
Description copied from class:CustomFormatter
Returns caller location information in eclipse format eg (Filename.java:23) WARNING Generating caller location information is slow. It's use should be avoided unless execution speed is not an issue.- Overrides:
getEclipseFormat
in classCustomFormatter
- Returns:
- the eclipse format
-
getEclipseFormat
-
findCallingElement
-