Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Parameters:

Name

Mandatory

Type

Description

callback

Status
colourRed
titleyes

Status
titlefunction

A JS function that write CTLive exception logs.

Example:

Code Block
languagejs
function LIVECHATPROTOCOL_ERROR (text) {
  console.log(text);
};

LIVECHAT.bindWriteExceptionLOG(LIVECHATPROTOCOL_ERROR);