OracleJavaScript API Reference for Oracle ADF Faces

 

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

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

Warning:

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

public class AdfIESwitchingLogWriter
extends AdfCompositeLogWriter
LogWriter that writes errors to the ConsoleLogWriter and all errors to the IE debug console



Field Summary


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfIESwitchingLogWriter(Object window, Object nativeLogWriter)
LogWriter that writes errors to the ConsoleLogWriter and all errors to the IE debug console


Method Summary

public Object
publish(Object record)
Publish a AdfLogRecord.


Methods inherited from oracle.adfinternal.view.js.agent.ie.AdfCompositeLogWriter

ApplyToAll, close, flush, GetLogWriters, Init, setFilter


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

CheckIfClosed, FormatError, FormatLevel, FormatLogRecord, FormatMessage, FormatWhen, getFilter, PublishImpl


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

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


Field Detail


Constructor Detail


AdfIESwitchingLogWriter

public AdfIESwitchingLogWriter(Object window,
                               Object nativeLogWriter)

LogWriter that writes errors to the ConsoleLogWriter and all errors to the IE debug console

Parameters:
window    
nativeLogWriter    

Method Detail


publish

public Object publish(Object record)

Publish a AdfLogRecord.

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


Parameters:
record  -  description of the log event
Return:
Object
Overrides:
AdfLogWriter.publish(Object)

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

 

Generated on 2010.12.10 19:37 UTC
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.