| Constructor and Description |
|---|
MemoryHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
Collection<String> |
getLogLines() |
void |
publish(LogRecord logRecord) |
static void |
setSensibleLogFormat()
Sets the
java.util.logging default output format to something more sensible than the 2-line default. |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevelpublic Collection<String> getLogLines()
public static void setSensibleLogFormat()
Sets the java.util.logging default output format to something more sensible than the 2-line default.
This can be overridden further on the command line. The format is like:
Mon Nov 26 23:16:09 GMT 2012 INFO Starting service Tomcat
Copyright © 2012. All Rights Reserved.