{"_id":"@omgaz/winston-bugsnag-logger","_rev":"7-181335197d905045639cbcd3edb106b6","name":"@omgaz/winston-bugsnag-logger","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"@omgaz/winston-bugsnag-logger","version":"0.0.1","keywords":["bunyan","logger","loggly","morgan","bugsnag","transport","winston"],"author":{"name":"Nick Baugh"},"license":"MIT","_id":"@omgaz/winston-bugsnag-logger@0.0.1","maintainers":[{"name":"omgaz","email":"garyjchisholm+npm@gmail.com"}],"homepage":"https://github.com/omgaz/winston-bugsnag-logger#readme","bugs":{"url":"https://github.com/omgaz/winston-bugsnag-logger/issues"},"dist":{"shasum":"c33e3832be54e71adb5a96bf3f5be423d986414f","tarball":"https://registry.npmjs.org/@omgaz/winston-bugsnag-logger/-/winston-bugsnag-logger-0.0.1.tgz","fileCount":4,"integrity":"sha512-ds0IdH+CfMItBlYovjsjZqvA2/fNjqHZT7W9ZJEB7GriQ/pVXvewVhl6SKzJKFFd2pN95/6qzCXbAVlHJRPqkQ==","signatures":[{"sig":"MEUCIHm/rk2XZ7nDPRitO+ESaCpQGqGbV1+lpGvWqLw6llxWAiEAnWuM7t/koobhYvQ9AR3Klc+z7BmQPj5aDTR9Czczajo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7092},"main":"index.js","engines":{"node":">= 12"},"gitHead":"80267ac0413f801ca043b9cc7b4ab7e9008095a0","_npmUser":{"name":"omgaz","email":"garyjchisholm+npm@gmail.com"},"repository":{"url":"git+https://github.com/omgaz/winston-bugsnag-logger.git","type":"git"},"_npmVersion":"9.5.1","description":"The maintained and well-documented Bugsnag transport for the winston logger","directories":{},"_nodeVersion":"18.16.0","dependencies":{"lodash":"4.17.21","@bugsnag/js":"6.5.2"},"_hasShrinkwrap":false,"devDependencies":{"winston":"2.4.1"},"peerDependencies":{"winston":">= 2.x"},"_npmOperationalInternal":{"tmp":"tmp/winston-bugsnag-logger_0.0.1_1686702433480_0.18817310998639813","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@omgaz/winston-bugsnag-logger","version":"0.0.2","keywords":["bunyan","logger","loggly","morgan","bugsnag","transport","winston"],"author":{"name":"Nick Baugh"},"license":"MIT","_id":"@omgaz/winston-bugsnag-logger@0.0.2","maintainers":[{"name":"omgaz","email":"garyjchisholm+npm@gmail.com"}],"homepage":"https://github.com/omgaz/winston-bugsnag-logger#readme","bugs":{"url":"https://github.com/omgaz/winston-bugsnag-logger/issues"},"dist":{"shasum":"2e5454167615713c6b1093b75936321882edf4b3","tarball":"https://registry.npmjs.org/@omgaz/winston-bugsnag-logger/-/winston-bugsnag-logger-0.0.2.tgz","fileCount":4,"integrity":"sha512-ZYVEbaJS4lGb0QyodBCao0x1Gh6u3lFJ5qg/BZtphkC9eZ1h9PqChZva0264V6Z/aa9iWEDFT9BAy6WeSmBd1Q==","signatures":[{"sig":"MEQCIGQs4lHZTBBKDkiYkFwYQBKbRVYcjs9BRRI1WKJOfc9HAiBVF0MUOaIvxGPG+dptzX+DaYcpGTRM7SSwPfa9QBXPzg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7083},"main":"index.js","engines":{"node":">= 12"},"gitHead":"17d6c47e89ec2a5326fb47568691183f872bd782","_npmUser":{"name":"omgaz","email":"garyjchisholm+npm@gmail.com"},"repository":{"url":"git+https://github.com/omgaz/winston-bugsnag-logger.git","type":"git"},"_npmVersion":"6.14.18","description":"The maintained and well-documented Bugsnag transport for the winston logger","directories":{},"_nodeVersion":"14.21.3","dependencies":{"lodash":"4.17.21","@bugsnag/js":"6.5.2"},"_hasShrinkwrap":false,"devDependencies":{"winston":"2.4.1"},"peerDependencies":{"winston":">= 2.x"},"_npmOperationalInternal":{"tmp":"tmp/winston-bugsnag-logger_0.0.2_1686702876522_0.9928466984539634","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@omgaz/winston-bugsnag-logger","version":"0.0.3","keywords":["bunyan","logger","loggly","morgan","bugsnag","transport","winston"],"author":{"name":"Nick Baugh"},"license":"MIT","_id":"@omgaz/winston-bugsnag-logger@0.0.3","maintainers":[{"name":"omgaz","email":"garyjchisholm+npm@gmail.com"}],"homepage":"https://github.com/omgaz/winston-bugsnag-logger#readme","bugs":{"url":"https://github.com/omgaz/winston-bugsnag-logger/issues"},"dist":{"shasum":"17bbd18bd3c335eed4b7abf74cb7ceb164ba86af","tarball":"https://registry.npmjs.org/@omgaz/winston-bugsnag-logger/-/winston-bugsnag-logger-0.0.3.tgz","fileCount":4,"integrity":"sha512-p6YXPSBpt/goOm4LSb0JqHAive/EF+vUr8V0CevQk8Okd/vbsvpXdjO4B7Phvd6YeLRF1MyKfzrtPodG6GQaiA==","signatures":[{"sig":"MEUCIBBzqs+J9QtT/6oYM/vn0WZwGDhzh2pYT++ach7zbfdKAiEAguGphVYUrkk4BeP8FSiC7dvMp7pdu8jrnJ0EiB1+G/Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7083},"main":"index.js","engines":{"node":">= 12"},"gitHead":"4573d05df9c8a8df9e671572031e15e4b4554556","_npmUser":{"name":"omgaz","email":"garyjchisholm+npm@gmail.com"},"repository":{"url":"git+https://github.com/omgaz/winston-bugsnag-logger.git","type":"git"},"_npmVersion":"9.5.1","description":"The maintained and well-documented Bugsnag transport for the winston logger","directories":{},"_nodeVersion":"18.16.1","dependencies":{"lodash":"4.17.21","@bugsnag/js":"6.5.2"},"_hasShrinkwrap":false,"devDependencies":{"winston":"2.4.1"},"peerDependencies":{"winston":">= 2.x"},"_npmOperationalInternal":{"tmp":"tmp/winston-bugsnag-logger_0.0.3_1688022509940_0.8510219319977228","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@omgaz/winston-bugsnag-logger","version":"0.0.4","keywords":["bunyan","logger","loggly","morgan","bugsnag","transport","winston"],"author":{"name":"Nick Baugh"},"license":"MIT","_id":"@omgaz/winston-bugsnag-logger@0.0.4","maintainers":[{"name":"omgaz","email":"garyjchisholm+npm@gmail.com"}],"homepage":"https://github.com/omgaz/winston-bugsnag-logger#readme","bugs":{"url":"https://github.com/omgaz/winston-bugsnag-logger/issues"},"dist":{"shasum":"e47587fb9dc3d468dd943e1279a14a6a6d488b00","tarball":"https://registry.npmjs.org/@omgaz/winston-bugsnag-logger/-/winston-bugsnag-logger-0.0.4.tgz","fileCount":4,"integrity":"sha512-nzxukpIMqq8cSAGxqh22COdHi2JGnAsnYdqS15mFKeBnkBuuKldPutqchcByWcid2NoC3ruzqkTjEMGxyWVQ3w==","signatures":[{"sig":"MEUCIQDhKmZ4DoTHH808SglcFNoGioIBFpkyM5AoyjuznTCo5QIgFUInjnKzGUwOABZQ7SLu3rkKsklifa4UElAWYQlEsqE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7762},"main":"index.js","engines":{"node":">= 12"},"gitHead":"ff57f11eaf5477c79bd79d538c92dcd8425cb042","_npmUser":{"name":"omgaz","email":"garyjchisholm+npm@gmail.com"},"repository":{"url":"git+https://github.com/omgaz/winston-bugsnag-logger.git","type":"git"},"_npmVersion":"9.5.1","description":"The maintained and well-documented Bugsnag transport for the winston logger","directories":{},"_nodeVersion":"18.16.1","dependencies":{"lodash":"4.17.21","@bugsnag/js":"6.5.2"},"_hasShrinkwrap":false,"devDependencies":{"winston":"2.4.1"},"peerDependencies":{"winston":">= 2.x"},"_npmOperationalInternal":{"tmp":"tmp/winston-bugsnag-logger_0.0.4_1691651289911_0.5557479704545052","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@omgaz/winston-bugsnag-logger","version":"0.0.5","keywords":["bunyan","logger","loggly","morgan","bugsnag","transport","winston"],"author":{"name":"Nick Baugh"},"license":"MIT","_id":"@omgaz/winston-bugsnag-logger@0.0.5","maintainers":[{"name":"omgaz","email":"garyjchisholm+npm@gmail.com"}],"homepage":"https://github.com/omgaz/winston-bugsnag-logger#readme","bugs":{"url":"https://github.com/omgaz/winston-bugsnag-logger/issues"},"dist":{"shasum":"5962ecb8d6059579c950f48828c326aa326cdcf7","tarball":"https://registry.npmjs.org/@omgaz/winston-bugsnag-logger/-/winston-bugsnag-logger-0.0.5.tgz","fileCount":4,"integrity":"sha512-OL3JFeShgDQbBYOKUghPiWUt9pJQvaFDKuifijaCx1wI1/Z+ha5R1cxKa4r6zkyBUd2qbf3+zsQhYHD3h2swKA==","signatures":[{"sig":"MEQCIFWamXz7ToA4DqPMifMRS2QT+W8oEKyl3YLT0CnyOychAiBpLmUrW9ykkoU6UrQRLF7ZlO3HjuUHbV31+6W3TCYvJA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7750},"main":"index.js","engines":{"node":">= 12"},"gitHead":"89ecb80a7336bc6b0ee4799212510b1c2317bd8d","_npmUser":{"name":"omgaz","email":"garyjchisholm+npm@gmail.com"},"repository":{"url":"git+https://github.com/omgaz/winston-bugsnag-logger.git","type":"git"},"_npmVersion":"9.5.1","description":"The maintained and well-documented Bugsnag transport for the winston logger","directories":{},"_nodeVersion":"18.16.1","dependencies":{"lodash":"4.17.21","@bugsnag/js":"6.5.2"},"_hasShrinkwrap":false,"devDependencies":{"winston":"2.4.1"},"peerDependencies":{"winston":">= 2.x"},"_npmOperationalInternal":{"tmp":"tmp/winston-bugsnag-logger_0.0.5_1691651572413_0.3624412722145769","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@omgaz/winston-bugsnag-logger","version":"0.0.6","keywords":["bunyan","logger","loggly","morgan","bugsnag","transport","winston"],"author":{"name":"Nick Baugh"},"license":"MIT","_id":"@omgaz/winston-bugsnag-logger@0.0.6","maintainers":[{"name":"omgaz","email":"garyjchisholm+npm@gmail.com"}],"homepage":"https://github.com/omgaz/winston-bugsnag-logger#readme","bugs":{"url":"https://github.com/omgaz/winston-bugsnag-logger/issues"},"dist":{"shasum":"ae65de780370c5fbde9eaa51bfecd0328246b4a6","tarball":"https://registry.npmjs.org/@omgaz/winston-bugsnag-logger/-/winston-bugsnag-logger-0.0.6.tgz","fileCount":4,"integrity":"sha512-r+xif2SJLU5wcBjtOc59RdoZzl0hHdgV1Pq6obVbMydKnDuXb0YuZArP2uSITsQa8VGP619E3RGyAP3LyanKTw==","signatures":[{"sig":"MEUCIHudcVP5OsyWJUfeSXqoZdZpGNKY3tVALh7WIjh+ncI8AiEAkq18PatK8RYEXRatgyN2G1QngMqVgnROYX8fQ6wRWgY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7756},"main":"index.js","engines":{"node":">= 12"},"gitHead":"a4534ab7b49415753df210ddfd0eccf028c555d1","_npmUser":{"name":"omgaz","email":"garyjchisholm+npm@gmail.com"},"repository":{"url":"git+https://github.com/omgaz/winston-bugsnag-logger.git","type":"git"},"_npmVersion":"9.5.1","description":"The maintained and well-documented Bugsnag transport for the winston logger","directories":{},"_nodeVersion":"18.16.1","dependencies":{"lodash":"4.17.21","@bugsnag/js":"6.5.2"},"_hasShrinkwrap":false,"devDependencies":{"winston":"2.4.1"},"peerDependencies":{"winston":">= 2.x"},"_npmOperationalInternal":{"tmp":"tmp/winston-bugsnag-logger_0.0.6_1691652619106_0.5002692785496525","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@omgaz/winston-bugsnag-logger","description":"The maintained and well-documented Bugsnag transport for the winston logger","version":"0.0.7","author":{"name":"Nick Baugh"},"bugs":{"url":"https://github.com/omgaz/winston-bugsnag-logger/issues"},"dependencies":{"@bugsnag/js":"6.5.2","lodash":"^4.18.1"},"devDependencies":{"winston":"2.4.1"},"engines":{"node":">= 12"},"main":"index.js","homepage":"https://github.com/omgaz/winston-bugsnag-logger#readme","keywords":["bunyan","logger","loggly","morgan","bugsnag","transport","winston"],"license":"MIT","peerDependencies":{"winston":">= 2.x"},"repository":{"type":"git","url":"git+https://github.com/omgaz/winston-bugsnag-logger.git"},"_id":"@omgaz/winston-bugsnag-logger@0.0.7","gitHead":"31010eaeb9d647c843fa3d2ff4568eae679100c0","_nodeVersion":"20.19.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Hui7Ge5IHa13U9fPRsXLnIeSrPusXOyAlwvE6zsPmAxbL30h1x9pwhVuOYNl+w67cTMl5z0LjSn7AtOP9G4+Rw==","shasum":"b35f31a42ac38f87ef4eda6c78c3ff5402cd9701","tarball":"https://registry.npmjs.org/@omgaz/winston-bugsnag-logger/-/winston-bugsnag-logger-0.0.7.tgz","fileCount":4,"unpackedSize":7756,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDQ8txZDDoOMUEI8h92rNFUAjaumojoCicGkPRCDoJVvAiB0fKAryZNlfG6rsnhbeQVrdxA+qKy9D2OsUo8ED1PaDQ=="}]},"_npmUser":{"name":"omgaz","email":"npm@garychisholm.com"},"directories":{},"maintainers":[{"name":"omgaz","email":"npm@garychisholm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/winston-bugsnag-logger_0.0.7_1775108291179_0.06337126264758886"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-14T00:27:13.426Z","modified":"2026-04-02T05:38:11.444Z","0.0.1":"2023-06-14T00:27:13.633Z","0.0.2":"2023-06-14T00:34:36.679Z","0.0.3":"2023-06-29T07:08:30.087Z","0.0.4":"2023-08-10T07:08:10.066Z","0.0.5":"2023-08-10T07:12:52.568Z","0.0.6":"2023-08-10T07:30:19.282Z","0.0.7":"2026-04-02T05:38:11.310Z"},"bugs":{"url":"https://github.com/omgaz/winston-bugsnag-logger/issues"},"author":{"name":"Nick Baugh"},"license":"MIT","homepage":"https://github.com/omgaz/winston-bugsnag-logger#readme","keywords":["bunyan","logger","loggly","morgan","bugsnag","transport","winston"],"repository":{"type":"git","url":"git+https://github.com/omgaz/winston-bugsnag-logger.git"},"description":"The maintained and well-documented Bugsnag transport for the winston logger","maintainers":[{"name":"omgaz","email":"npm@garychisholm.com"}],"readme":"> This package is deprecated and a better alternative has been created, please use Cabin: https://cabinjs.com\n\n> This fork is a stop gap until such time as I can migrate to Pino / CabinJS\n\n# winston-bugsnag-logger\n\n[![node](https://img.shields.io/badge/node-4.8.4+-brightgreen.svg)][node-url]\n[![bugsnag](https://img.shields.io/badge/bugsnag-1.x+-brightgreen.svg)][bugsnag-url]\n[![winston](https://img.shields.io/badge/winston-2.x+-brightgreen.svg)][winston-url]\n[![license](https://img.shields.io/github/license/niftylettuce/winston-bugsnag-logger.svg)][license-url]\n\nThe **maintained** and **well-documented** [Bugsnag](https://github.com/bugsnag/bugsnag-node) transport for the [winston](https://github.com/winstonjs/winston) logger.\n\n> Full API documentation is available at: <https://docs.bugsnag.com/api/error-reporting/>\n\n## Index\n\n- [Install](#install)\n- [Usage](#usage)\n- [Options](#options-options)\n  - [Log Level Mapping](#log-level-mapping)\n- [License](#license)\n\n## Install\n\n```bash\nnpm install --save winston winston-bugsnag-logger\n```\n\n## Usage\n\nYou can configure `winston-bugsnag-logger` in two different ways.\n\nWith `new winston.Logger`:\n\n```js\nconst winston = require(\"winston\");\nconst Bugsnag = require(\"winston-bugsnag-logger\");\n\nconst options = {\n  apiKey: \"*******\",\n  level: \"info\",\n};\n\nconst logger = new winston.Logger({\n  transports: [new Bugsnag(options)],\n});\n```\n\nOr with winston's `add` method:\n\n```js\nconst winston = require(\"winston\");\nconst Bugsnag = require(\"winston-bugsnag-logger\");\n\nconst logger = new winston.Logger();\n\nlogger.add(Bugsnag, options);\n```\n\nSee [Options](#options-options) below for custom configuration.\n\n## Options (`options`)\n\nPer `options` variable above, here are the default options provided:\n\nDefault options:\n\n- `apiKey` (String) - your Bugsnag API key (defaults to `process.env.BUGSNAG_API_KEY`)\n- `config` (Object) - a Bugsnag configuration object\n- `bugsnag` (Object) - an optional instance of `bugsnag` that is already configured via `bugsnag.register` (if provided this will be used instead of the `config` option)\n\nTransport related options:\n\n- `name` (String) - transport's name (defaults to `bugsnag`)\n- `silent` (Boolean) - suppress logging (defaults to `false`)\n- `level` (String) - transport's level of messages to log (defaults to `info`)\n- `levelsMap` (Object) - log level mapping to Bugsnag (see [Log Level Mapping](#log-level-mapping) below)\n\n### Log Level Mapping\n\nWinston logging levels are mapped by default to Bugsnag's acceptable levels.\n\nThese defaults are set as `options.levelsMap' and are:\n\n```js\n{\n  silly: 'info',\n  verbose: 'info',\n  info: 'info',\n  debug: 'debug',\n  warn: 'warning',\n  error: 'error'\n}\n```\n\nYou can customize how log levels are mapped using the `levelsMap` option:\n\n```js\nnew Bugsnag({\n  levelsMap: {\n    verbose: \"info\",\n  },\n});\n```\n\nIf no log level mapping was found for the given `level` passed, then it will not log anything.\n\n## License\n\n[MIT License][license-url]\n\n[license-url]: LICENSE\n[node-url]: https://nodejs.org\n[bugsnag-url]: https://bugsnag.com\n[winston-url]: https://github.com/winstonjs/winston\n","readmeFilename":"Readme.md"}