Results 1 to 4 of 4

Hybrid View

  1. #1
    Hi,

    You should also include the classes ConsoleAppender and LogMessages.
    For example, if you use AMD, the complete code is:

    require(["LightstreamerClient", "SimpleLoggerProvider", "ConsoleAppender", "LogMessages" /* other dependencies */],
    function(LightstreamerClient, SimpleLoggerProvider,ConsoleAppender,LogMessages) {
    /* set up logger */
    var log = new SimpleLoggerProvider();
    log.addLoggerAppender(new ConsoleAppender("DEBUG", "*"));
    LightstreamerClient.setLoggerProvider(log);

    /* create the client and connect */
    });

    Additional info about the use of the client are in the Web client guide.
    Last edited by Alessandro Carioni; May 15th, 2018 at 08:01 AM.

 

 

Similar Threads

  1. connection to LS disconnect much
    By engcoder in forum Adapter SDKs
    Replies: 3
    Last Post: October 16th, 2014, 09:24 AM
  2. Replies: 11
    Last Post: January 9th, 2013, 09:27 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 04:17 AM.