log()

Deprecated. Logs to the browser's JavaScript console, if it is available. This method doesn't log in production or debug modes so it’s only useful for internal usage by the framework.

Signature

log (Object value, Object error)

Parameters

value
Type: Object
The object to log.
error
Type: Object
The error message to log in the stack trace.

Returns

Type: String
The requested value.