OracleJavaScript API Reference for Oracle ADF Faces

 

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

oracle.adfinternal.view.js.agent.safari
Class AdfSafariLogWriter

Warning:

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

public class AdfSafariLogWriter
extends AdfLogWriter
AdfLogWriter subclass that writes the logged messages to the Safari debug console as they are published.



Field Summary

private Object
_errorLogWriter
private Object
_mobile
public static Object
WRITE_ERRORS_TO_CONSOLE


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

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfSafariLogWriter(Object parentWindow, Object backupLogWriter)
AdfLogWriter subclass that writes the logged messages to the Safari debug console as they are published.


Method Summary

private static Object
_assertionHook(Object message, Object skipLevel, Object reason)
Hook to call before original AdfAssert.assertionFailed() code in order to take advantage of the browser console stack generation.
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 browser 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, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString


Field Detail


_errorLogWriter

private Object _errorLogWriter

_mobile

private Object _mobile

WRITE_ERRORS_TO_CONSOLE

public static Object WRITE_ERRORS_TO_CONSOLE

Constructor Detail


AdfSafariLogWriter

public AdfSafariLogWriter(Object parentWindow,
                          Object backupLogWriter)

AdfLogWriter subclass that writes the logged messages to the Safari debug console as they are published.

Parameters:
parentWindow    
backupLogWriter    

Method Detail


_assertionHook

private static Object _assertionHook(Object message,
                                     Object skipLevel,
                                     Object reason)

Hook to call before original AdfAssert.assertionFailed() code in order to take advantage of the browser console stack generation.

Parameters:
message    
skipLevel    
reason    
Return:
Object

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 browser console

Parameters:
logRecord  -  The AdfLogRecord to publish to the AdfLogWriter
Return:
Object
Overrides:
AdfLogWriter.PublishImpl(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.