|
Oracle Java ME Embedded | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oracle.util.logging.Formatter com.oracle.util.logging.SimpleFormatter
public class SimpleFormatter
Print a brief summary of the LogRecord
in a human readable
format. The summary will typically be 1 or 2 lines.
Configuration: The CLDC version of this class does not include a mechanism to customize the formatting like the Java SE counterpart of this class. The formatting of the log message is implementation-specific.
Constructor Summary | |
SimpleFormatter()
|
Method Summary | |
java.lang.String |
format(LogRecord record)
Format the given LogRecord. |
Methods inherited from class com.oracle.util.logging.Formatter |
formatMessage, getHead, getTail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleFormatter()
Method Detail |
public java.lang.String format(LogRecord record)
The CLDC implementation of this class does not include a mechanism to customize the formatting such as the JDK counterpart of this class. The formatting of the log message is implementation-specific.
This method can also be overridden in a subclass.
It is recommended to use the Formatter.formatMessage(com.oracle.util.logging.LogRecord)
convenience method to localize and format the message field.
format
in class Formatter
record
- the log record to be formatted.
|
Oracle Java ME Embedded | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |