Skip to content

Commit 7c6157c

Browse files
committed
Updated js demo
1 parent fdf36b1 commit 7c6157c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

example/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@
3838
<button onclick="sendEvents(100)">Send 100 random events</button>
3939
<button onclick="sendEvents(100, 0)">Send 100 log messages</button>
4040
<button onclick="sendEvents(100, 1)">Send 100 exceptions</button>
41+
<button onclick="logClientConfigurationSettings()">Log Client Configuration Settings (settings sent from server)</button>
4142
</body>
4243
</html>

example/index.js

+5
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ function throwIndexOutOfRange(indexer) {
4242
function throwStringErrorImpl(message) {
4343
throw new Error(message);
4444
}
45+
46+
function logClientConfigurationSettings() {
47+
var client = exceptionless.ExceptionlessClient.default;
48+
console.log(client.config.settings);
49+
}

0 commit comments

Comments
 (0)