OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adfinternal.view.js.agent.ie
Class AdfIEConsoleLogWriter

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.logging.AdfLogWriter
               |
               +--oracle.adfinternal.view.js.agent.ie.AdfIEConsoleLogWriter

public class AdfIEConsoleLogWriter
extends AdfLogWriter
AdfLogWriter subclass that writes the logged messages to an attached console object such as the one in IE8 or FirebugLite


Field Summary

private Object
_errorLogWriter

Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass

Fields inherited from org.ecmascript.object.Object

prototype

Constructor Summary

public
AdfIEConsoleLogWriter(Object parentWindow, Object backupLogWriter)
AdfLogWriter subclass that writes the logged messages to an attached console object such as the one in IE8 or FirebugLite

Method Summary

public Object
close()
Close the AdfLogWriter and free all associated resources.
public Object
flush()
Flush any buffered output.
protected Object
Init(Object parentWindow, Object backupLogWriter)
Initializes the instance.
protected Object
PublishImpl(AdfLogRecord logRecord)
Write the record to the installed console

Methods inherited from oracle.adf.view.js.logging.AdfLogWriter

CheckIfClosed, FormatError, FormatLevel, FormatLogRecord, FormatMessage, FormatWhen, getFilter, publish, setFilter

Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString

Field Detail


_errorLogWriter

private Object _errorLogWriter

Constructor Detail


AdfIEConsoleLogWriter

public AdfIEConsoleLogWriter(Object parentWindow,
                             Object backupLogWriter)

AdfLogWriter subclass that writes the logged messages to an attached console object such as the one in IE8 or FirebugLite

Parameters:
parentWindow  
backupLogWriter  

Method Detail


close

public Object close()

Close the AdfLogWriter and free all associated resources.

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.


Return:
Object
Overrides:
AdfLogWriter.close()

flush

public Object flush()

Flush any buffered output.

Return:
Object
Overrides:
AdfLogWriter.flush()

Init

protected Object Init(Object parentWindow,
                      Object backupLogWriter)

Initializes the instance. Subclasses of AdfObject must call their superclass' Init

Parameters:
parentWindow  
backupLogWriter  
Return:
Object
Overrides:
AdfObject.Init()

PublishImpl

protected Object PublishImpl(AdfLogRecord logRecord)

Write the record to the installed console

Parameters:
logRecord - The AdfLogRecord to publish to the AdfLogWriter
Return:
Object
Overrides:
AdfLogWriter.PublishImpl(Object)

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.