bindWriteExceptionLOG

Registers a callback function to write CTLive client exception log in your apllication.

Parameters:

Name

Mandatory

Type

Description

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);