This function sets the callback used by hwc.log when it is required to notify the user of a log item.
<static> setLoggingAlertDialog( newAlertDialogCallback )
Name | Type | Description |
newAlertDialogCallback | anonymous.alertDialogCallbackFunction | The alert dialog to use. |
customLogAlert = function( message ) { alert( "New log message: " + message ); } hwc.setLoggingAlertDialog( customLogAlert );