Registers a callback function to write CTLive client exception log in your apllication.
Parameters:
Name | Mandatory | Type | Description |
---|---|---|---|
callback | YES | FUNCTION | A JS function that write CTLive exception logs. |
Example:
function LIVECHATPROTOCOL_ERROR (text) { console.log(text); }; LIVECHAT.bindWriteExceptionLOG(LIVECHATPROTOCOL_ERROR);