public class ErrorFormatter
extends java.util.logging.Formatter
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
NULLMSG
Null error message.
|
static java.lang.String[] |
PRUNE
List of packages to prune from stack traces at the end.
|
Constructor and Description |
---|
ErrorFormatter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
appendCauses(java.lang.StringBuilder buf,
java.lang.Throwable thrown)
Append (pruned) stack traces for associated exceptions.
|
java.lang.String |
format(java.util.logging.LogRecord record) |
public static final java.lang.String[] PRUNE
private final java.lang.String NULLMSG
public java.lang.String format(java.util.logging.LogRecord record)
format
in class java.util.logging.Formatter
private void appendCauses(java.lang.StringBuilder buf, java.lang.Throwable thrown)
buf
- Buffer to append tothrown
- Throwable to format.Copyright © 2019 ELKI Development Team. License information.