public class LogFormatter
extends java.util.logging.Formatter
2006-09-03 09:32:37.546 INFO Application terminated properly
The extract
method can be used to get the original text from a log entry again
by removing the line header with time stamp and log level.
Constructor and Description |
---|
LogFormatter()
Constructor method for the formatter.
|
public java.lang.String format(java.util.logging.LogRecord record)
format
in class java.util.logging.Formatter
public static java.lang.String extract(java.lang.String message)
message
- The log entry to be extractedCopyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.