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