Android
java.util.logging
public class

java.util.logging.SimpleFormatter

java.lang.Object
java.util.logging.Formatter
java.util.logging.SimpleFormatter

SimpleFormatter can be used to print a summary of the information contained in a LogRecord object in a human readable format.

Summary

Public Constructors

            SimpleFormatter()
Constructs a SimpleFormatter object.

Public Methods

          String  format(LogRecord r)
Formats a LogRecord object into a string representation.
Methods inherited from class java.util.logging.Formatter
Methods inherited from class java.lang.Object

Details

Public Constructors

public SimpleFormatter()

Constructs a SimpleFormatter object.

Public Methods

public String format(LogRecord r)

Formats a LogRecord object into a string representation. The resulted string is usually localized and includes the message field of the supplied LogRecord object.

Parameters

r the log record to be formatted into a string

Returns

  • the string resulted from the formatting
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56