Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanrahic committed Jul 21, 2020
1 parent 32b9140 commit 727693e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ var logger = winston.createLogger({
- __type__ - Type of your logs - please note you can define [Elasticsearch mapping templates in Sematext Cloud](https://sematext.com/blog/custom-elasticsearch-index-templates-in-logsene/)
- __url__ - Sematext Cloud receiver URL (or URL for Sematext Enterprise / On Premises), defaults to Sematext Cloud (US) receiver `https://logsene-receiver.sematext.com/_bulk`. To ship logs to Sematext Cloud (EU) in Europe use `https://logsene-receiver.eu.sematext.com/_bulk`
- __handleExceptions__ - boolean 'true' logs 'uncaught exceptions'
- __handleErrors__ - boolean 'true' logs 'unhandled errors'
- __exitOnError__ - if set to 'false' process will not exit after logging the 'uncaught exceptions'
- __source__ - name of the logging source, by default name of the main node.js module
- __setSource__ - "true" adds "source" to the log event (modifies the object!), default false
Expand Down

0 comments on commit 727693e

Please sign in to comment.