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, getTail
public String format(LogRecord record)
format
in class SimpleFormatter
public static void install()
Copyright © 2017. All rights reserved.