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
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,10 @@ Start sending the logs:
24
24
stackify.start(options);
25
25
```
26
26
The following options could be passed. 'apiKey' is the only one that required:
27
-
*__apiKey:__ client license key.
28
-
*__env:__ environment name.
29
-
*__proxy:__ proxy server if you want to send requests via proxy.
30
-
*__exitOnError:__ Boolean flag indicating whether to shutdown the server after logging an uncaughtException.
27
+
*__apiKey:__ client license key
28
+
*__env:__ environment name
29
+
*__proxy:__ proxy server if you want to send requests via proxy
30
+
*__exitOnError:__ Boolean flag indicating whether to shutdown the server after logging an uncaught exception
31
31
32
32
#### Using with Winston
33
33
@@ -56,7 +56,7 @@ stackify.error(message, meta)
56
56
```
57
57
The timestamp will be added to every message by default.
58
58
59
-
Meta parameter should be a valid JSON object.
59
+
Meta parameter should be an object.
60
60
61
61
Examples of usage:
62
62
```js
@@ -76,7 +76,7 @@ By executing `stackify.start()` you set handler for uncaught exceptions.
76
76
Be sure to run it before any methods that set exception handlers.
77
77
78
78
##### Using with pure NodeJS app
79
-
If you are not using any of the frameworks and all requests are handled inside native `createServer()` method and you want to get web details of exception to be sent with it you should run `stackify.exceptionHandler(req)` first line inside of this method :
79
+
If you want to get web details of an exception to be sent with it you should run `stackify.exceptionHandler(req)` first line inside of native `createServer` method :
0 commit comments