public class CustomFormatter extends Formatter
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomFormatter.Color
A CustomFormatter that forces the use of colors.
|
static class |
CustomFormatter.NoColor
A CustomFormatter that does not use colors.
|
| Constructor and Description |
|---|
CustomFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
format(LogRecord record) |
boolean |
isUseColor() |
void |
setUseColor(boolean useColor) |
formatMessage, getHead, getTail