com.google.enterprise.adaptor
Class CustomFormatter
java.lang.Object
java.util.logging.Formatter
com.google.enterprise.adaptor.CustomFormatter
public class CustomFormatter
- extends Formatter
Custom log formatter for ease of development. It is specifically targeted to
use in console output and is able to produce color output on Unix terminals.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomFormatter
public CustomFormatter()
format
public String format(LogRecord record)
- Specified by:
format
in class Formatter
isUseColor
public boolean isUseColor()
setUseColor
public void setUseColor(boolean useColor)