Removed setTimeOut function …
due to setTimeOut function, the code inside it, was running asynchronously and causing delay in setting up of the loggly.tracker.js variables like key, sendConsoleErrors etc. which is stopping the logs to be sent to Loggly during the page load.