| |
|
| java.lang.Object java.util.logging.Handler com.sun.mobile.cdm.DebugHandler
Constructor Summary | |
public | DebugHandler(Debug debug) Creates a DebugHandler object that uses the specified
Debug object to record messages. |
Method Summary | |
public void | close() Does nothing. | public void | flush() Does nothing. | public void | publish(LogRecord record) Publishes the specified LogRecord object using the
Debug object used to create this object. |
DebugHandler | public DebugHandler(Debug debug)(Code) | | Creates a DebugHandler object that uses the specified
Debug object to record messages.
Parameters: debug - the Debug object to use to record messages. |
flush | public void flush()(Code) | | Does nothing.
|
publish | public void publish(LogRecord record)(Code) | | Publishes the specified LogRecord object using the
Debug object used to create this object. The following
table summarizes the mapping between LogRecord levels and
Debug levels:
LogRecord |
Debug |
SEVERE |
ERROR |
WARNING |
WARNING |
anything else |
MESSAGE |
Parameters: record - the LogRecord object to publish throws: NullPointerException - if this object was created with a nullDebug object |
|
|
|