![]()
Catches onerror events fired by windows and similar objects.
Arguments:
|
code » | ||||
Creates a string representing a given primitive or object, and for an
object, all its properties and nested objects. WARNING: If an object is
given, it and all its nested objects will be modified. To detect reference
cycles, this method identifies objects using goog.getUid() which mutates the
object.
Arguments:
Returns: string
A string representation of
obj .
|
code » | ||||
![]()
Converts an object to an Error if it's a String,
adds a stacktrace if there isn't one,
and optionally adds an extra message.
Arguments:
Returns: !Error
If err is a string, it is used to create a new Error,
which is enhanced and returned. Otherwise err itself is enhanced
and returned.
|
code » | ||||
Creates a string representing an object and all its properties.
|
code » | ||||
Recursively outputs a nested array as a string.
|
code » | ||||
Exposes an exception that has been caught by a try...catch and outputs the
error with a stack trace.
|
code » | ||||
![]()
Resolves functions to their names. Resolved function names will be cached.
|
code » | ||||
Gets a function name
|
code » | ||||
No description.
|
code » | ||||
Gets the current stack trace, either starting from the caller or starting
from a specified function that's currently on the call stack.
Arguments:
Returns: string
Stack trace.
|
code » | ||||
Private helper for getStacktrace().
|
code » | ||||
Gets the current stack trace. Simple and iterative - doesn't worry about
catching circular references or getting the args.
Arguments:
Returns: string
A string with the function names of all functions in the
stack, separated by \n.
|
code » | ||||
Makes whitespace visible by replacing it with printable characters.
This is useful in finding diffrences between the expected and the actual
output strings of a testcase.
|
code » | ||||
Normalizes the error/exception object between browsers.
|
code » | ||||
![]()
Set a custom function name resolver.
Arguments:
|
code » |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
Singleton GcDiagnostics object
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
There is a single global LogManager object that is used to maintain a set of
shared state about Loggers and log services. This is loosely based on the
java class java.util.logging.LogManager.
|
Code » | |
![]()
A message value that can be handled by a Logger.
Functions are treated like callbacks, but are only called when the event's
log level is enabled. This is useful for logging messages that are expensive
to construct.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
Max length of stack to try and output
|
Code » | |
Singleton trace object
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
Dummy object to work around undefined properties compiler warning.
|
Code » | |
![]()
Hash map for storing function names that have already been looked up.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » |