-
May 15th, 2018, 07:54 AM
#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
-
By engcoder in forum Adapter SDKs
Replies: 3
Last Post: October 16th, 2014, 09:24 AM
-
By snatarajan in forum Client SDKs
Replies: 11
Last Post: January 9th, 2013, 09:27 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 05:45 AM.
Bookmarks