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