Team LiB
Previous Section Next Section

SimpleFormatterjava.util.logging

Java 1.4

This Formatter subclass converts a LogRecord object to a human-readable log message that is typically one or two lines long. See also XMLFormatter.

Figure 16-120. java.util.logging.SimpleFormatter


public class SimpleFormatter extends java.util.logging.Formatter {
// Public Constructors
     public SimpleFormatter( );  
// Public Methods Overriding Formatter
     public String format(LogRecord record);                      synchronized
}

    Team LiB
    Previous Section Next Section