|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adfnmc.java.util.logging.Handler
oracle.adfnmc.java.util.logging.StreamHandler
oracle.adfnmc.java.util.logging.ConsoleHandler
public class ConsoleHandler
A handler that writes log messages to the standard output stream
System.err.
This handler reads the following properties from the log manager to initialize itself:
Level.INFO if this property is not found or has an
invalid value;
null if
this property is not found or has an invalid value;
java.util.logging.SimpleFormatter if this property is not
found or has an invalid value;
null if
this property is not found or has an invalid value.
This class is not thread-safe.
| Field Summary |
|---|
| Fields inherited from class oracle.adfnmc.java.util.logging.Handler |
|---|
prefix |
| Constructor Summary | |
|---|---|
ConsoleHandler()
Constructs a ConsoleHandler object. |
|
| Method Summary | |
|---|---|
void |
close()
Closes this handler. |
void |
publish(LogRecord record)
Logs a record if necessary. |
protected void |
setPrefix(java.lang.String prefix)
|
| Methods inherited from class oracle.adfnmc.java.util.logging.StreamHandler |
|---|
flush, isLoggable, setEncoding, setOutputStream |
| Methods inherited from class oracle.adfnmc.java.util.logging.Handler |
|---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsoleHandler()
ConsoleHandler object.
| Method Detail |
|---|
protected void setPrefix(java.lang.String prefix)
setPrefix in class Handlerpublic void close()
System.err is flushed but not
closed.
close in class StreamHandlerpublic void publish(LogRecord record)
publish in class StreamHandlerrecord - the log record to be logged
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||