LogListener( milliseconds, event, optionalString ) method

Callback function that will be invoked when events are logged to the event log.

Log listeners can be added with hwc.addLogListener.

Syntax

<static> LogListener( milliseconds, event, optionalString )

Parameters

Name Type Description
milliseconds number The date of the log message represented in milliseconds.
event number A number that represents which category this event falls under (It will be one of hwc.CONNECTION_ERROR, hwc.CONNECTION_OTHER, hwc.CONNECTION_CONNECTED, hwc.CONNECTION_DISCONNECTED, hwc.CONNECTION_RETRIEVED_ITEMS).
optionalString string The string carrying the message of the log event.

Source

hwc-api.js, line 3671.