Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tags and browser information in log objects #18

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Documentation and minify

  • Loading branch information
NicolasTripndrive committed Jun 1, 2015
commit a541776b587347bbd45fc1bad048cecf42bea3be
@@ -14,6 +14,8 @@ Place the following on your page, and replace the logglyKey value with the key p
_LTracker.push({
'logglyKey': '8c518f97-e3e0-4bfb-a8ed-582d084a5289',
'sendConsoleErrors' : true,
'tags': ['foo', 'bar'],
'clientInfo': true, // false by default
});
</script>
```
@@ -103,7 +103,7 @@
// Initialize
if(data.logglyKey) {
setKey(self, data.logglyKey, data.tags);
self.browserInfo = (data.browserInfo);
self.clientInfo = (data.clientInfo);
return;
}

@@ -118,7 +118,7 @@
}

// Append browser info
if (self.browserInfo) self.setClientInfo(data);
if (self.clientInfo) self.setClientInfo(data);

self.track(data);
},

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.