{"_id":"@boelensman1/pino-sentry","_rev":"2-3ce3a3d159e0a8114f5a7c48edae77ff","name":"@boelensman1/pino-sentry","dist-tags":{"latest":"0.3.1"},"versions":{"0.3.0":{"name":"@boelensman1/pino-sentry","description":"@sentry/node transport for pino logger","version":"0.3.0","author":{"name":"Andrew Avdeev","email":"andrewww.avdeev@gmail.com"},"keywords":["logger","loggly","logging","node","tools","sentry","transport","pino"],"main":"dist/index.js","types":"dist/index.d.ts","bin":{"pino-sentry":"dist/cli.js"},"scripts":{"clean":"rm -rf dist","build":"tsc -b tsconfig.build.json","lint":"eslint src/**/*.ts","prepublishOnly":"npm run lint && npm run build"},"repository":{"type":"git","url":"git+https://github.com/aandrewww/pino-sentry.git"},"license":"MIT","bugs":{"url":"https://github.com/aandrewww/pino-sentry/issues"},"homepage":"https://github.com/aandrewww/pino-sentry#readme","engines":{"node":">=10"},"dependencies":{"@sentry/node":"^5.15.5","commander":"^5.1.0","json-schema":"^0.2.5","pify":"^5.0.0","pump":"^3.0.0","split2":"^3.1.1","through2":"^3.0.1"},"devDependencies":{"@types/node":"^13.13.5","@types/pify":"^3.0.2","@types/pump":"^1.1.0","@types/split2":"^2.1.6","@types/through2":"^2.0.34","@typescript-eslint/eslint-plugin":"^2.32.0","@typescript-eslint/parser":"^2.32.0","eslint":"^7.0.0","pino":"^6.2.1","typescript":"^3.8.3"},"gitHead":"14aaa170d06ac6df07deb5ed37b2e19307a6bddd","_id":"@boelensman1/pino-sentry@0.3.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-JAnASjcG5H8ATqIWjfwBncrmnMGB5FVuORMHc4rNyiryb5dnPxxb8uL70518ne2f/5PkcsZQd2jKFhizqOigKA==","shasum":"e9f13256837bd3307730f1ac9862a9d6353cf858","tarball":"https://registry.npmjs.org/@boelensman1/pino-sentry/-/pino-sentry-0.3.0.tgz","fileCount":12,"unpackedSize":26084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeumu3CRA9TVsSAnZWagAAr3AP/RX1H//C256XrkrgyKnJ\nJ5ai3UKcI4iqh5ctdh4Mp+WmbnFBh70V2BV0zE7FS8WvUYEeGB3co0MG8//0\ngnmu0Ipqz3+Lt5smuymx5TJQd0tV19p0zxF0KbO6V4VD1xb/mTflmmxadCA2\nINgUivE1BiRvsARhWV1eR5wbY56wYYbVZgFmXMytCJ+SrMNYBT9ug9TIyNyZ\noJNl/+f73a5AJ8Edh/fslGrRUcsv7zHB+Klc60Bs2STA3FUUqWvP6/8Hw4Ib\nYAAoo7OaR4zzI420uGC4TKstCTSSYnEIWnBZ7PuhXjQASAWQwYLPpPyC6pUC\njxr49MZ95fO5GXZqbiHcHKGYkC8NqeFZiVL1iCeTp/YwVbmYUgRpJhgVsZlD\n900lQWRpFuWXYklmAVT8JWSGRRJk7WNmgL5n8B9g6STpHUwZtAvzX1Mzwy12\nAJpyTu7OUCKcclYMthfU2z7MLB9fgZxfgCoBuLyIDc00YwghYt/1qzA+t6oB\npCq5GJjSFQTCbSXodylrg1mHKLbcQQ+qhpjhg5wYCOSWiiVOcekaz6oMnPXh\nBaGlID1m3W/MQH5/xoiGuoHDcZlhGDC6D8bOe4SWtoRn4pgtYeftEN6Ddx/1\nq9sLftFNjH9lI8NnuDdGc1E6XQSFoSpqRQipKCsHY7MDHi1LuMy289dqpnqo\njSvR\r\n=xxM2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT2dbucP8szRuOz+6ZP94qMTBBJ6cGsV0vVMRAgeOEnwIhAMJbRtcj7/qfBuj4OXBmbu7fquELik+BrQRPIciZGe//"}]},"maintainers":[{"name":"boelensman1","email":"me@wiggerboelens.com"}],"_npmUser":{"name":"boelensman1","email":"me@wiggerboelens.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-sentry_0.3.0_1589275575195_0.46340061767379037"},"_hasShrinkwrap":false},"0.3.1":{"name":"@boelensman1/pino-sentry","description":"@sentry/node transport for pino logger","version":"0.3.1","author":{"name":"Andrew Avdeev","email":"andrewww.avdeev@gmail.com"},"keywords":["logger","loggly","logging","node","tools","sentry","transport","pino"],"main":"dist/index.js","types":"dist/index.d.ts","bin":{"pino-sentry":"dist/cli.js"},"scripts":{"clean":"rm -rf dist","build":"tsc -b tsconfig.build.json","lint":"eslint src/**/*.ts","prepublishOnly":"npm run lint && npm run build"},"repository":{"type":"git","url":"git+https://github.com/aandrewww/pino-sentry.git"},"license":"MIT","bugs":{"url":"https://github.com/aandrewww/pino-sentry/issues"},"homepage":"https://github.com/aandrewww/pino-sentry#readme","engines":{"node":">=10"},"dependencies":{"@sentry/node":"^5.15.5","commander":"^5.1.0","json-schema":"^0.2.5","pify":"^5.0.0","pump":"^3.0.0","split2":"^3.1.1","through2":"^3.0.1"},"devDependencies":{"@types/node":"^13.13.5","@types/pify":"^3.0.2","@types/pump":"^1.1.0","@types/split2":"^2.1.6","@types/through2":"^2.0.34","@typescript-eslint/eslint-plugin":"^2.32.0","@typescript-eslint/parser":"^2.32.0","eslint":"^7.0.0","pino":"^6.2.1","typescript":"^3.8.3"},"gitHead":"14aaa170d06ac6df07deb5ed37b2e19307a6bddd","_id":"@boelensman1/pino-sentry@0.3.1","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-179SqjwCZUIYPmVlTT77K5u8d5PdSVwrlscfoMbRDMzzCuYh5Ktf2vNzYeZAxgGxKnDlp3/HwZefYVoWGBAncg==","shasum":"31caebdd79dab28ed0883c4e71f97bab28b92e2c","tarball":"https://registry.npmjs.org/@boelensman1/pino-sentry/-/pino-sentry-0.3.1.tgz","fileCount":12,"unpackedSize":26374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevPtVCRA9TVsSAnZWagAAUSQP/1E46yYrRLmDchpIpa0g\nhwywzKYpKRdrBD8ugMZhwZDAlBOlwGEY8tBlyKXboZRvL+Ck8e0xgMSX3XFH\n1WEiKbdgRw5hVsN9sjKncH+QXKjH1L7m5X1mSPavyws2t9PlqUxcvcVqwYEG\noNh8JNBmQnyNKiQZUMdFdPWG/1ZK9yc8jK8ShDsMWPy4z3mIEQ0J4D0l2vZB\nmuOAY4sJ1Uc5CUvnJG2jGtGoGjzbCkO8MrcrPtbJ/rYoM8tUwzvYZoQDLIbM\nelUMHYlSuNXON+1nYK9gXhMoegd70PecEFMCz2N9Tk1/2One4fEZEMy6nRHT\nUZxdWZH4I9llCDYXGGMjycmslxas2QLSHSRwWrHOJHN73SeWoIo2YsnKfKPM\nJRPAEP5UQsLsaiJvMgnDiY0bp0QX9FZTjkfPNtnm4oLM8UiTcqOKxCuapM25\ndU1uqsJ3rTAxYRbiwzfIrSWn8rfBf8+nX8pnR0z4YciNFetnV3bLWOiaesJf\nWx7C66husQbb7GxAO6NAs3k2uaGT8BlCwdH0nlu2uFwKeugXj597rD7r90eY\n3MkFH4xbMqzAtpnUoDfjNnMc7oTRzozm87SABLoUSrLoTtdHQHqpU7Il7N/3\nw6ZuTYFukfbYfFILIADVdvq5yimsNMqe9bLxpq6Pvz7v2SZ5jDflhNKHJQwU\nhodx\r\n=md7r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdWNAyKuKS1eouIHeKXCeXu0GR4JCHgrpZNigKNBYlEgIgO4Lsp8tl7vk0UsmvzYIm4gulwfNvUEUmZlCk9Nntdlc="}]},"maintainers":[{"name":"boelensman1","email":"me@wiggerboelens.com"}],"_npmUser":{"name":"boelensman1","email":"me@wiggerboelens.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pino-sentry_0.3.1_1589443412732_0.4212444567764051"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-12T09:26:15.146Z","0.3.0":"2020-05-12T09:26:15.308Z","modified":"2022-04-04T19:58:28.955Z","0.3.1":"2020-05-14T08:03:32.817Z"},"maintainers":[{"name":"boelensman1","email":"me@wiggerboelens.com"}],"description":"@sentry/node transport for pino logger","homepage":"https://github.com/aandrewww/pino-sentry#readme","keywords":["logger","loggly","logging","node","tools","sentry","transport","pino"],"repository":{"type":"git","url":"git+https://github.com/aandrewww/pino-sentry.git"},"author":{"name":"Andrew Avdeev","email":"andrewww.avdeev@gmail.com"},"bugs":{"url":"https://github.com/aandrewww/pino-sentry/issues"},"license":"MIT","readme":"\n# pino-sentry\n[![CircleCI](https://circleci.com/gh/aandrewww/pino-sentry.svg?style=svg)](https://circleci.com/gh/aandrewww/pino-sentry)\n[![node](https://img.shields.io/badge/node-6.4.0+-brightgreen.svg)][node-url]\n[![license](https://img.shields.io/github/license/aandrewww/pino-sentry.svg)][license-url]\n\nLoad [pino](https://github.com/pinojs/pino) logs into [Sentry](https://sentry.io/)\n\n## Index\n\n* [Install](#install)\n* [Usage](#usage)\n  - [CLI](#cli)\n  - [API](#api)\n* [Options](#options-options)\n  - [Transport options](#transport-options)\n  - [Log Level Mapping](#log-level-mapping)\n* [License](#license)\n\n## Install\n\n```bash\nnpm install pino-sentry -g\n```\n\n## Usage\n\n### CLI\n\n```bash\nnode ./app.js | pino-sentry --dsn=https://******@sentry.io/12345\n```\n\n### API\n\n```js\nconst { createWriteStream } = require('pino-sentry');\n// ...\nconst opts = { /* ... */ };\nconst stream = createWriteStream({ dsn: process.env.SENTRY_DSN });\nconst logger = pino(opts, stream);\n```\n\n## Options (`options`)\n\n### Transport options\n\n* `--dsn` (`-d`): your Sentry DSN or Data Source Name (defaults to `process.env.SENTRY_DSN`)\n* `--environment` (`-e`): (defaults to `process.env.SENTRY_ENVIRONMENT || process.env.NODE_ENV || 'production'`)\n* `--serverName` (`-n`): transport name (defaults to `pino-sentry`)\n* `--debug` (`-dm`): turns debug mode on or off (default to `process.env.SENTRY_DEBUG || false`)\n* `--sampleRate` (`-sr`): sample rate as a percentage of events to be sent in the range of 0.0 to 1.0 (default to `1.0`)\n* `--maxBreadcrumbs` (`-mx`): total amount of breadcrumbs that should be captured (default to `100`)\n\n### Log Level Mapping\n\nPino logging levels are mapped by default to Sentry's acceptable levels.\n\n```js\n{\n  trace: 'debug',\n  debug: 'debug',\n  info: 'info',\n  warn: 'warning',\n  error: 'error',\n  fatal: 'fatal'\n}\n```\n\n## License\n\n[MIT License][license-url]\n\n[license-url]: LICENSE\n[node-url]: https://nodejs.org\n","readmeFilename":"README.md"}