JavaScript API Reference for Oracle ADF Faces
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-05 |
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||
org.ecmascript.object.Object
|
+--oracle.adf.view.js.base.AdfObject
|
+--oracle.adf.view.js.logging.AdfLogWriter
public abstract class AdfLogWriter extends AdfObject
Field Summary |
|
|---|---|
private Object |
|
private Object |
|
Fields inherited from oracle.adf.view.js.base.AdfObject |
constructor, superclass |
Fields inherited from org.ecmascript.object.Object |
prototype |
Method Summary |
|
|---|---|
protected Object |
|
public Object |
|
public Object |
|
protected Object |
|
protected Object |
|
protected String |
|
protected Object |
|
protected Object |
|
public Object |
|
protected Object |
|
public Object |
|
protected Object |
|
public Object |
|
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString |
Field Detail |
|---|
private Object _closedprivate Object _filter
Method Detail |
|---|
protected Object CheckIfClosed()Objectpublic Object close()The close method will perform a flush and then close the AdfLogWriter. After close has been called this AdfLogWriter should no longer be used. Method calls may either be silently ignored or may throw runtime exceptions.
Objectpublic Object flush()Objectprotected Object FormatError(Object error)error |
Objectprotected Object FormatLevel(Object level)level |
Objectprotected String FormatLogRecord(AdfLogRecord logRecord)logRecord |
- | to format |
String - Formatted stringprotected Object FormatMessage(Object message)message |
Objectprotected Object FormatWhen(Object when)when |
Objectpublic Object getFilter()Objectprotected Object Init()ObjectAdfObject.Init()public Object publish(Object record)The logging request was made initially to a AdfLogger object, which initialized the AdfLogRecord and forwarded it here.
The AdfLogWriter is responsible for formatting the message, when and if necessary. The formatting should include localization.
Subclasses content to let the AdfLogWriter superclass execute the filter can override PublishImpl instead of publish
record |
- | description of the log event |
Objectprotected Object PublishImpl(Object record)record |
Objectpublic Object setFilter(Object newFilter)newFilter |
Object
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-05 |
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||