{"name":"@slack/logger","version":"1.1.1","keywords":["slack","logging"],"author":{"name":"Slack Technologies, Inc."},"license":"MIT","_id":"@slack/logger@1.1.1","homepage":"https://slack.dev/node-slack-sdk","bugs":{"url":"https://github.com/slackapi/node-slack-sdk/issues"},"dist":{"shasum":"5cb0658abcd2c4ec39ecf04348ba4764b9f68e00","tarball":"http://registry-npm.ywwl.com/@slack/logger/download/@slack/logger-1.1.1.tgz","fileCount":7,"integrity":"sha512-PAC5CMnNAv/FPtJ0le+YD2wUV+tZ7n3Bnjj9dBI+deIcHsExCnQkQmZE79cLvfuYXbz3PWyv5coti30MJQhEjA==","signatures":[{"sig":"MEQCIHn/7NB6O1tGcWBpG5BxB7MY2/8u/5JDsNUMjqMvC3WsAiAHU1VlHKn1mGbo/yW1n36Q7VbR3AImH0z+VltgPzeraA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10928,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnjLSCRA9TVsSAnZWagAAeH8QAJLZd3G4aqyZwOSVL9AD\nQnei59rTQx9Zfyn3oDPq8p5wfh+y5WTzwJO61nnuApCUpJuBH/QQevshD8M7\nB3Xkw9xQ/lrBDCaX5GWny6EJGGBKiKTkBoWHuJjLKyKgPQPUvIyBUzeUFDHo\nAufAuphgoFsQ0yrUA2sNCSrxWni2oAKH7l0HxEq/erMcHnmAD/Jv97adu/Ug\nOWk47KbSlBhCmBUwY41RMyBdc3asSUHQsSuQncrOWBDhCi22WLghZR4MP4ki\nUVBsfTMjDQNrimzjqMDhF0lbBwekmkozk5FlZOKSvcuBEL++UnRPkr22vSDg\nbMiBwaYeLT6KJwW8O8nJdUtZ8cajCQFcWbkITKGIPykC03oMZzpqwVdBBhif\n25X+JlfxbgSBb5FD7mS6cDQsxn11j5z8GxHwiP/kpakbTHzsVataiti7Onje\nYbNCg5c3sMKzMXcOKnv1mCUzTvWDn/PDM8Xk2TOhAPDYc2YAqq9hkoLzd8qf\n1jL3Xi2qQtOqTR1Bc5WDIWNvtt/B/Yc37XmUVI03dfY1iHGvVVHpAHpNs/3o\n1BJd2+x0ZkmWuH4qsOhA9xoLRmieFfCuDW9EqFwKxnS0WjWE0/xMPCMXchK4\n0eXFSrykQcBJXbUS3IAhONRUiHFXRIOrlyV9Jg7bG73Pax6Ij37CItJ+75pe\nkRsG\r\n=k76u\r\n-----END PGP SIGNATURE-----\r\n","size":3603,"noattachment":false,"key":"/@slack/logger/-/@slack/logger-1.1.1.tgz"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"npm":">= 5.5.1","node":">= 8.9.0"},"gitHead":"ab2589733fbc84b62044e0905ffdd29b3c14c87e","scripts":{"lint":"tslint --project .","test":"npm run build && echo \"Tests are not implemented.\" && exit 0","build":"npm run build:clean && tsc","prepare":"npm run build","build:clean":"shx rm -rf ./dist"},"_npmUser":{"name":"shanedewael","email":"sdewael@slack-corp.com"},"repository":{"url":"git+https://github.com/slackapi/node-slack-sdk.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v11.0.0+x64 (darwin)","description":"Logging utility used by Node Slack SDK","directories":{},"_nodeVersion":"11.0.0","dependencies":{"@types/node":">=8.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","shx":"^0.3.2","chai":"^4.2.0","mocha":"^6.1.4","tslint":"^5.13.1","ts-node":"^8.2.0","typescript":"^3.3.3333","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","tslint-config-airbnb":"^5.11.1"},"_npmOperationalInternal":{"tmp":"tmp/logger_1.1.1_1570648785683_0.06156707158004382","host":"s3://npm-registry-packages"},"readme":"# Slack Logger\n\nThe `@slack/logger` package is intended to be used as a simple logging interface that supports verbosity levels.\n\n## Requirements\n\nThis package supports Node v18 and higher. It's highly recommended to use [the latest LTS version of\nnode](https://github.com/nodejs/Release#release-schedule), and the documentation is written using syntax and features\nfrom that version.\n\n## Installation\n\n```shell\n$ npm install @slack/logger\n```\n\n## Usage\n\nThis package exports a `ConsoleLogger` class, a generic `Logger` interface and a `LogLevel` enum.\nThe source code is short (~150 lines of code), so check out `src/index.ts` for details, but the `ConsoleLogger` API\nmimics the default node `console` API with three additions:\n\n- `getLevel()`: returns the currently-specific `LogLevel` of the logger.\n- `setLevel(LogLevel)`: sets the `LogLevel` of the logger.\n- `setName(string)`: sets a prefix to display in logs. Useful if you have multiple loggers active.\n\n## Getting Help\n\nIf you get stuck, we're here to help. The following are the best ways to get assistance working through your issue:\n\n  * [Issue Tracker](http://github.com/slackapi/node-slack-sdk/issues) for questions, feature requests, bug reports and\n    general discussion related to this package. Try searching before you create a new issue.\n  * [Email us](mailto:developers@slack.com) in Slack developer support: `developers@slack.com`\n","publish_time":1570648785801,"maintainers":[{"email":"cchensh88@gmail.com","name":"cchensh"},{"email":"sgorbachov@slack-corp.com","name":"sgorbach0v"},{"email":"evegeris@salesforce.com","name":"evegeris"},{"email":"ethan.zimbelman@slack-corp.com","name":"e-zim"},{"email":"maj.fil@gmail.com","name":"filmaj"},{"email":"srajiang@gmail.com","name":"srajiang88"},{"email":"opensource@slack.com","name":"slackhq"},{"email":"macdonald.andrew@gmail.com","name":"ajm"},{"email":"stevengill97@gmail.com","name":"stevegill"},{"email":"it@slack-corp.com","name":"slack_biztech"},{"email":"seratch@gmail.com","name":"seratch"},{"email":"alissa.renz@gmail.com","name":"misscoded"},{"email":"michael@michaelbrooks.ca","name":"mwbrooks"}],"_cnpm_publish_time":1570648785801,"dist-tags":{"latest":"5.0.0","rc":"5.0.0-rc.1"}}