public class ColorFormatter extends SimpleFormatter
SimpleFormatter that uses ANSI color escape sequence.| Constructor and Description |
|---|
ColorFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
format(LogRecord record) |
static void |
install()
Conservatively installs the color logger.
|
formatMessage, getHead, getTailpublic String format(LogRecord record)
format in class SimpleFormatterpublic static void install()
Copyright © 2017. All rights reserved.