public class LogFormatter
extends java.util.logging.Formatter
| Constructor and Description |
|---|
LogFormatter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(java.util.logging.LogRecord record)
Formats the logs.
|
static void |
install(java.util.logging.Logger log)
Installs this formatter for all handlers in the root logger.
|
public java.lang.String format(java.util.logging.LogRecord record)
format in class java.util.logging.FormatterFormatter.format(java.util.logging.LogRecord)public static void install(java.util.logging.Logger log)
log - logger to install on, null for root logger.