setLoggingAlertDialog( newAlertDialogCallback ) method

This function sets the callback used by hwc.log when it is required to notify the user of a log item.

Syntax

<static> setLoggingAlertDialog( newAlertDialogCallback )

Parameters

Name Type Description
newAlertDialogCallback anonymous.alertDialogCallbackFunction The alert dialog to use.

Example

customLogAlert = function( message )
{
   alert( "New log message: " + message );
}
hwc.setLoggingAlertDialog( customLogAlert );

Source

hwc-comms.js, line 207.