{"name":"@slack/logger","version":"3.0.0","keywords":["slack","logging"],"author":{"name":"Slack Technologies, Inc."},"license":"MIT","_id":"@slack/logger@3.0.0","homepage":"https://slack.dev/node-slack-sdk","bugs":{"url":"https://github.com/slackapi/node-slack-sdk/issues"},"dist":{"shasum":"b736d4e1c112c22a10ffab0c2d364620aedcb714","tarball":"http://registry-npm.ywwl.com/@slack/logger/download/@slack/logger-3.0.0.tgz","fileCount":6,"integrity":"sha512-DTuBFbqu4gGfajREEMrkq5jBhcnskinhr4+AnfJEk48zhVeEv3XnUKGIX98B74kxhYsIMfApGGySTn7V3b5yBA==","signatures":[{"sig":"MEUCIAV/M/ApEa02UxZk4B7Rrv6H2wedHrJ/a8+n6+YZ2x6mAiEA2lYPMktOYkcgcRiKS2Hg5AzOrEXZTi7Dn/PqqIaNQww=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/f7GCRA9TVsSAnZWagAA1OsP/3Ot+B5tGeZvvsk26VHT\nCFE0/vNP+mEGrKN821lUAmLiwZW1dOIxd2L8/cMuYJ+IKbxP3+1M79Ehw9dZ\nQ1J1VKi30Fwn8J8/5ubGy9mVXIvO3Bnxyvm3gMIAS4xMqBzYKfJQDJSNZAdo\n7BXiNQvsTtT0XcYOFgKyYcnGK9+GIWJnMIxfxA5kKPR+rQtsVhMti9lYLO6V\nIQqiyUX6UOLSr+N3QXflkoIUoGfSaDDOCT5dHIzWqoSz88zCdX2+dqo3LeNy\nZ94/lgLsGS3vIY5z0U7vdpIUJiIoT8JoOoUiaaq4Z6mUgFqdSk/AizVN72kD\nPAGUo5aleeBsy6TRvPGu2vBxqb1Fwaz4TEhNNJV2aG+hansXUagI0ZVZJNIt\nGue0TD3jMAaprMuSWku0Uu3NDWxck1BzJvaKjf/qaTmUxxmn3irWc57U/1iZ\nW5Nij0MVsu+9ecUYSlPaYJGa+fPNyAZWSoI9s7CdhUE5QQ3Y7X3A+yqBEikm\nPJrKUexTXtZqQVMj5cY1qASCeAd7OTJTQyUZusZ5OaQ749z/n7RR8x9GDeWy\nVdn32hs77A3HJQxsbu83lzAPI9uY6Jl8ojglENCNMe6VRqONwBOiqXO9KyHS\nP1o6vC8OdLyyEatKX6FTMQIVyspch8KNKiTUyqvRWvZDbROy9iH/GPmVRpC4\np7th\r\n=BggB\r\n-----END PGP SIGNATURE-----\r\n","size":3041,"noattachment":false,"key":"/@slack/logger/-/@slack/logger-3.0.0.tgz"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"npm":">= 6.12.0","node":">= 12.13.0"},"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","ref-docs:model":"api-extractor run"},"_npmUser":{"name":"stevegill","email":"stevengill97@gmail.com"},"repository":{"url":"git+https://github.com/slackapi/node-slack-sdk.git","type":"git"},"_npmVersion":"6.12.1","description":"Logging utility used by Node Slack SDK","directories":{},"_nodeVersion":"12.13.1","dependencies":{"@types/node":">=12.0.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":"^4.1.0","@types/chai":"^4.1.7","@types/mocha":"^5.2.6","tslint-config-airbnb":"^5.11.1","@microsoft/api-extractor":"^7.3.4"},"_npmOperationalInternal":{"tmp":"tmp/logger_3.0.0_1610481349644_0.8532615780290329","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":1610481349752,"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":1610481349752,"dist-tags":{"latest":"5.0.0","rc":"5.0.0-rc.1"}}