|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-04 |
||||||||
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 _closed
private Object _filter
Method Detail |
---|
protected Object CheckIfClosed()
Object
public 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.
Object
public Object flush()
Object
protected Object FormatError(Object error)
error |
Object
protected Object FormatLevel(Object level)
level |
Object
protected String FormatLogRecord(AdfLogRecord logRecord)
logRecord |
- | to format |
String
- Formatted stringprotected Object FormatMessage(Object message)
message |
Object
protected Object FormatWhen(Object when)
when |
Object
public Object getFilter()
Object
protected Object Init()
Object
AdfObject.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 |
Object
protected Object PublishImpl(Object record)
record |
Object
public Object setFilter(Object newFilter)
newFilter |
Object
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-04 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |