Namespace: Appender

Canadarm. Appender

Source:

Methods

<static> standardLogAppender(level, exception, message, data)

Recommended default log appender. Adds property attributes below to the logs. Depending on the browser some values may be default logged as '?' when the value cannot be determined.
Parameters:
Name Type Description
level string Log level of the exception. (e.g. ERROR, FATAL)
exception error JavaScript Error object.
message string Message of the error.
data object A no nesting key/value set of extra data for a log.
Properties:
Name Type Description
logDate string The UTC time the browser threw the error.
language string The language set on the page.
characterSet string Encoding used to read the page.
type string Specifies the type of the log as 'jserror'.
columnNumber integer The column number of where the error took place.
lineNumber integer The line number of where the error took place.
msg string The message for the error. (e.g. [ERROR]: blah blah)
pageURL string The URL location of the page the error occurred on.
url string The URL location of the script that produced the error.
stack object Stacktrace of the exception that occurred.
Source: