{"name":"@slack/logger","version":"1.1.0","keywords":["slack","logging"],"author":{"name":"Slack Technologies, Inc."},"license":"MIT","_id":"@slack/logger@1.1.0","homepage":"https://slack.dev/node-slack-sdk","bugs":{"url":"https://github.com/slackapi/node-slack-sdk/issues"},"dist":{"shasum":"563a97e38670109cba5a1ec1c4f3098bc0d344c6","tarball":"http://registry-npm.ywwl.com/@slack/logger/download/@slack/logger-1.1.0.tgz","fileCount":7,"integrity":"sha512-D3tabyLoUrsFy0w3koxaCVv+5ZJfIy+j0QW3PUq0XO3UiVuF5rtpAbqngAYVpeKnxPpqBjeth4XJ3tllKoW3aA==","signatures":[{"sig":"MEYCIQD0TLi1jaQA2qYlwi5+/NEWi2EVrnU2FjKwkrRR/xAcZwIhAIK+1IHTYuuciUdeymml6gyLj2qPwFFNuT/ShyTWFURt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdi/AOCRA9TVsSAnZWagAAq6YQAIAdQiyygJhN2cvz6B7R\n8py2E16zfFeUfENnHs3kqJz7xBlLzH9vOE6/WIUJ0mraE+MfyyTIBxSnDn/p\nbzpIjowtGGXnpL8sZpjuq593IfPrZXxjXboL8+bMsRGUONggByYZnIxc9o3B\nFWkSnYLOw1KGCR887zBeLnyPRdJcDD3YpTnsk7mVz+aKC3GR+t8mZGRR0S2Z\nDXhI4TE6+RVmjTGcSDN1Bxk+WInr5lv7xdc4bmNU3Hm+6LigpZ6rJL9z6to1\nnEAsca6UfoX2jBGIsAgeELTouzJGlLko40foHg+l/9lL0V5FMaXAIhU47NMt\njVbLIevT285f1FI/2ONLfNC1oEqB1az2gfDaSXapeERCiqBlumFiYnCg4E3L\nbJmXgv6NumJYV5fxJK8T0btJbrHmifePBElUCbPQagUG502Bl7M9WPHCG3wt\nV2EnrNvhfHi0PWVZ8964jUFXgw4T385iyMs/EgsK9MDOoR4ScoayczT/8k3U\navM3jUnnnOCUAY61dcPOlGyYIR7AawQu08hfkhCjmLZMkTTPYoPEgqO7Joa/\niJTxST8rJDOlcAAgKcZVFiPkJUmfQ7Pk2QvpCiKTxY1y808TsXHmYafSL+25\nOwLrxpC2txZF5UtdLVLONy0aYMenIwgN9g5OrlbPVcvpCGIdzD2UnJcuS7wP\n8y1d\r\n=frQR\r\n-----END PGP SIGNATURE-----\r\n","size":3701,"noattachment":false,"key":"/@slack/logger/-/@slack/logger-1.1.0.tgz"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"npm":">= 5.5.1","node":">= 8.9.0"},"gitHead":"8a3f777519718ffb87cbde712f75b8d594255f84","scripts":{"lint":"tslint --project .","test":"npm run build && nyc mocha --config .mocharc.json src/*.spec.js","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.16.4/node@v12.2.0+x64 (darwin)","description":"Logging utility used by Node Slack SDK","directories":{},"_nodeVersion":"12.2.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.0_1569452045270_0.8427542880601975","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":1569452045396,"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":1569452045396,"dist-tags":{"latest":"5.0.0","rc":"5.0.0-rc.1"}}