Package net.sf.freecol.common.logging
Class TextFormatter
- java.lang.Object
-
- java.util.logging.Formatter
-
- net.sf.freecol.common.logging.TextFormatter
-
final class TextFormatter extends java.util.logging.FormatterFormats a log record's data into human-readable text.
-
-
Constructor Summary
Constructors Constructor Description TextFormatter()The constructor to use.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringformat(java.util.logging.LogRecord record)Formats the given log record's data into human-readable text.
-
-
-
Method Detail
-
format
public java.lang.String format(java.util.logging.LogRecord record)
Formats the given log record's data into human-readable text.- Specified by:
formatin classjava.util.logging.Formatter- Parameters:
record- The log record whose data needs to be formatted.- Returns:
- The log record's data as a string.
-
-