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
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,20 +18,18 @@ $ npm install stackify-logger
18
18
```js
19
19
var stackify =require(‘stackify-logger’);
20
20
```
21
-
Start sending the logs:
21
+
Start sending logs:
22
22
```js
23
23
// this should be executed only once in the app
24
24
stackify.start(options);
25
25
```
26
26
The following options could be passed. 'apiKey' is the only one that required:
27
27
*__apiKey:__ client license key
28
28
*__env:__ environment name
29
+
*__exitOnError:__ boolean flag indicating whether to shutdown the server after logging an uncaught exception, defaults to false
29
30
*__proxy:__ proxy server if you want to send requests via proxy.
30
-
31
31
*Notice:* stackify-logger sends synchronous requests before any `process.exit()` calls in your code. Sending via proxy wouldn't be possible in this case.
32
32
33
-
*__exitOnError:__ boolean flag indicating whether to shutdown the server after logging an uncaught exception, defaults to false
0 commit comments