You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,17 +41,17 @@ You can configure the exceptionless client a few different ways. The section bel
41
41
```
42
42
2. You can set the `apiKey` or `serverUrl` on the default ExceptionlessClient instance.
43
43
```javascript
44
-
var client =Exceptionless.ExceptionlessClient.default;
44
+
var client =exceptionless.ExceptionlessClient.default;
45
45
client.config.apiKey='API_KEY_HERE';
46
46
client.config.serverUrl='http://localhost:50000';
47
47
```
48
48
3. You can create a new instance of the ExceptionlessClient and specify the `apiKey`, `serverUrl` or [configuration object](https://github.com/exceptionless/Exceptionless.JavaScript/blob/master/src/configuration/IConfigurationSettings.ts).
49
49
```javascript
50
-
var client =newExceptionless.ExceptionlessClient('API_KEY_HERE');
50
+
var client =newexceptionless.ExceptionlessClient('API_KEY_HERE');
51
51
// or with a api key and server url.
52
-
var client =newExceptionless.ExceptionlessClient('API_KEY_HERE', 'http://localhost:50000');
52
+
var client =newexceptionless.ExceptionlessClient('API_KEY_HERE', 'http://localhost:50000');
53
53
// or with a configuration object
54
-
var client =newExceptionless.ExceptionlessClient({
54
+
var client =newexceptionless.ExceptionlessClient({
var client =newExceptionless.ExceptionlessClient('API_KEY_HERE');
72
+
var client =newexceptionless.ExceptionlessClient('API_KEY_HERE');
73
73
// or with a api key and server url.
74
-
var client =newExceptionless.ExceptionlessClient('API_KEY_HERE', 'http://localhost:50000');
74
+
var client =newexceptionless.ExceptionlessClient('API_KEY_HERE', 'http://localhost:50000');
75
75
// or with a configuration object
76
-
var client =newExceptionless.ExceptionlessClient({
76
+
var client =newexceptionless.ExceptionlessClient({
77
77
apiKey:'API_KEY_HERE',
78
78
serverUrl:'http://localhost:50000',
79
79
submissionBatchSize:100
@@ -89,7 +89,7 @@ You may also want to send us log messages, feature usages or other kinds of even
89
89
90
90
```javascript
91
91
// javascript
92
-
var client =Exceptionless.ExceptionlessClient.default;
92
+
var client =exceptionless.ExceptionlessClient.default;
93
93
// Node.Js
94
94
// var client = require('exceptionless').ExceptionlessClient.default;
95
95
@@ -117,7 +117,7 @@ In addition to automatically sending all unhandled exceptions, you may want to m
117
117
118
118
```javascript
119
119
// javascript
120
-
var client =Exceptionless.ExceptionlessClient.default;
120
+
var client =exceptionless.ExceptionlessClient.default;
121
121
// Node.Js
122
122
// var client = require('exceptionless').ExceptionlessClient.default;
123
123
@@ -133,7 +133,7 @@ try {
133
133
You can easily include additional information in your error reports using our fluent [event builder API](https://github.com/exceptionless/Exceptionless.JavaScript/blob/master/src/EventBuilder.ts).
134
134
```javascript
135
135
// javascript
136
-
var client =Exceptionless.ExceptionlessClient.default;
136
+
var client =exceptionless.ExceptionlessClient.default;
137
137
// Node.Js
138
138
// var client = require('exceptionless').ExceptionlessClient.default;
0 commit comments