{"name":"@slack/logger","version":"4.0.0","keywords":["slack","logging"],"author":{"name":"Slack Technologies, LLC"},"license":"MIT","_id":"@slack/logger@4.0.0","homepage":"https://slack.dev/node-slack-sdk","bugs":{"url":"https://github.com/slackapi/node-slack-sdk/issues"},"dist":{"shasum":"788303ff1840be91bdad7711ef66ca0cbc7073d2","tarball":"http://registry-npm.ywwl.com/@slack/logger/download/@slack/logger-4.0.0.tgz","fileCount":6,"integrity":"sha512-Wz7QYfPAlG/DR+DfABddUZeNgoeY7d1J39OCR2jR+v7VBsB8ezulDK5szTnDDPDwLH5IWhLvXIHlCFZV7MSKgA==","signatures":[{"sig":"MEYCIQCnCjo9UpSUDCM3de8sDq5Xwou6ybPgmXOIjY7YcmqzmwIhANt/25hEvt6OPtaNLzKXVACL8bp+99RwnD6zfkWsuqOp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12365,"size":3887,"noattachment":false,"key":"/@slack/logger/-/@slack/logger-4.0.0.tgz"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"npm":">= 8.6.0","node":">= 18"},"gitHead":"25fe276ebfc6162415debeffe865ac5df7c6c08a","scripts":{"lint":"eslint --ext .ts src","test":"npm run lint && npm run test:unit","build":"npm run build:clean && tsc","mocha":"mocha --config .mocharc.json src/*.spec.js","prepare":"npm run build","coverage":"npm run build && nyc --reporter=text-summary npm run mocha","test:unit":"npm run build && npm run mocha","build:clean":"shx rm -rf ./dist ./coverage ./.nyc_output","ref-docs:model":"api-extractor run"},"_npmUser":{"name":"filmaj","email":"maj.fil@gmail.com"},"repository":{"url":"git+https://github.com/slackapi/node-slack-sdk.git","type":"git"},"_npmVersion":"9.6.6","description":"Logging utility used by Node Slack SDK","directories":{},"_nodeVersion":"20.2.0","dependencies":{"@types/node":">=18.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","shx":"^0.3.2","chai":"^4.3.8","mocha":"^10.2.0","sinon":"^15.2.0","eslint":"^8.47.0","ts-node":"^8.2.0","typescript":"^4.1.0","@types/chai":"^4.3.5","@types/mocha":"^10.0.1","eslint-plugin-node":"^11.1.0","source-map-support":"^0.5.21","eslint-plugin-jsdoc":"^46.5.0","eslint-plugin-import":"^2.28.1","@microsoft/api-extractor":"^7.36.4","@typescript-eslint/parser":"^6.4.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^17.1.0","@typescript-eslint/eslint-plugin":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/logger_4.0.0_1692992843767_0.04593336626884037","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":1692992843968,"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":1692992843968,"dist-tags":{"latest":"5.0.0","rc":"5.0.0-rc.1"}}