{"name":"@slack/logger","version":"1.0.0","keywords":["slack","logging"],"author":{"name":"Slack Technologies, Inc."},"license":"MIT","_id":"@slack/logger@1.0.0","homepage":"https://slack.dev/node-slack-sdk","bugs":{"url":"https://github.com/slackapi/node-slack-sdk/issues"},"dist":{"shasum":"e529974c7111f8a62d794a79cd807eee1628088b","tarball":"http://registry-npm.ywwl.com/@slack/logger/download/@slack/logger-1.0.0.tgz","fileCount":7,"integrity":"sha512-QDYhQR/58xKfB5iquvQwfpxPsmKPP/5SuDp8hRhZeUluCHsP1qBCOc3sW2Xb3cydxK0PAEnkLbBJf/ezsGwtlA==","signatures":[{"sig":"MEUCIQChOBhgmScs2JToyxXjd2ksf7MAhU7zy+SMRE8Q4XQdWgIgGFkq1WYJi79tIusrN20bV3n0p1AO7YWbmyysRFtKbmw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnUQ2CRA9TVsSAnZWagAAyGIQAJaqVsQ0vSw7Ea7uejks\nlTTdNeZKfJgbh6JozshXWc2TmYJ3Wo7X2Xr3mv9m3a9ttT5K4hiv2OCJENei\nQqNA5QQI0SeVG1680p31mX/bh2XlW9JN9w5GT92XQbJK6c+y7pl30upgvVDp\nj2QJm3M1UKAuT43Wnc1hqyAzBYYCCcqMvBJUtNqbFMMhGG4KiMqtCkmAu2AS\nYT7Kxg4rENhInkCi0/f3XPV3px17ReRuGJL2Wu1JOn0wvK+Bbq+Rr2nzhlI2\ngobb2jaQ6hxCGLvA+MuOCr4yCvVd9l+LzCNiAwyk9rpsEdKFBzTtM5nJ2WRW\nNZd2uVasdDwgmfEVGH3ccrrC50MxM2VKZ65BXOvzXSao9yAznf4DveteHo/s\nNFoDNE6EZ52V8SwUKoupZC6IZ2qemv5LsBOSB3JL/vjcV/QrHhu09h4mAMDJ\n556HTYJRD/iWlfLa9WKF6laBCYINod0o7AR5md/+Dc0VpzyzPsrZCF2p/XFf\nGxKUIxJmEnMSdbSFbK79+Xkocyr7X8iDQx8YP293ltQivTYhYLfJDUwBffPT\nGHxu21hxslxPnL/q9wc5eXRRVaXx3AbkpeigOHN+CBaFFB7ebysVUgmdrbZW\nBSJmP9OQ/YLZ53pS6Eohx6SIszKFsrBlNbGtwSAo7faO0HymXxVz6/Yuu/MW\nbvm6\r\n=R5ig\r\n-----END PGP SIGNATURE-----\r\n","size":3555,"noattachment":false,"key":"/@slack/logger/-/@slack/logger-1.0.0.tgz"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"npm":">= 5.5.1","node":">= 8.9.0"},"gitHead":"891307eb5f1625f68b72e4c242ba749a7d6cb996","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":"aoberoi","email":"aoberoi@gmail.com"},"repository":{"url":"git+https://github.com/slackapi/node-slack-sdk.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v10.15.1+x64 (darwin)","description":"Logging utility used by Node Slack SDK","directories":{},"_nodeVersion":"10.15.1","dependencies":{"@types/node":">=8.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.2","tslint":"^5.13.1","typescript":"^3.3.3333","tslint-config-airbnb":"^5.11.1"},"_npmOperationalInternal":{"tmp":"tmp/logger_1.0.0_1553810485905_0.6014950953130698","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":1553810486046,"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":1553810486046,"dist-tags":{"latest":"5.0.0","rc":"5.0.0-rc.1"}}