{"name":"@slack/logger","version":"2.0.0","keywords":["slack","logging"],"author":{"name":"Slack Technologies, Inc."},"license":"MIT","_id":"@slack/logger@2.0.0","homepage":"https://slack.dev/node-slack-sdk","bugs":{"url":"https://github.com/slackapi/node-slack-sdk/issues"},"dist":{"shasum":"6a4e1c755849bc0f66dac08a8be54ce790ec0e6b","tarball":"http://registry-npm.ywwl.com/@slack/logger/download/@slack/logger-2.0.0.tgz","fileCount":7,"integrity":"sha512-OkIJpiU2fz6HOJujhlhfIGrc8hB4ibqtf7nnbJQDerG0BqwZCfmgtK5sWzZ0TkXVRBKD5MpLrTmCYyMxoMCgPw==","signatures":[{"sig":"MEUCIBkAHjhIWzoTJR5d3GpFLmTsg0bngWjUC7TTs7jC/O7aAiEA0fK7sw7skzZrCx/AbhIkZkDXCgbM69vwGTqAjOIgvK4=","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\nwsFcBAEBCAAQBQJdnl86CRA9TVsSAnZWagAAGegQAIorjIkSuGd37z2fLAuI\n7ewr/1CCIy6vW2/uHNGbVfaByH6B8YxwrOUCgeoJQwqoUYCEioqt/mo5WAte\n0aR76Jt/Wk4YWncRElw5DFnx1jyNpF/uOQDU2VV5QhL16BZ6orDKDbEfLjgv\nw8x9Iyae5DwaQVa+59KPgfa9kftAfVnCMe0aPMiOhlwq5S/yjwR66X6/XhRG\n3uVtZcmEEDUvWYMSe7MJd38zmlh4rmJYEJ4kIqm+VUYHM+cRb7G4NYVyQy0o\n2rFannTODOHyQXjj5MiL+Uvoa51KJbnGyKvEWFlvkWB5e/JikU5XUPF4V67k\n4cSwpSYDsVH/EULZeOks8ozalbhk2ElFGOnP1aMPVx+r3u5cYkU6wjsC+Ccz\n1GF3nAOQxVnD6HNur4TAsmcKdiP5OaO6p+f5jm2vfIDYygnRemc54jBohbNM\nj/saMDH9rbp0hUgqAjdCa8cTPzX9JCBOp6eIfpZ0rsOCxoJs8XoxUp6Tt+Uc\nc4f7B9rVhXXJ8tSxrWOiRzWijdwSocdUxy7dpMR2bKvs5lnWAGx7JkDiAjh0\najDzNHfZFCBwS2d/t5xwd7Vd4OfaBmWvPGHF3bnu6xYuQujmojESv0sk4zSZ\n/0rUCdEakQesDWomfW2t23HUqcLIdzvJF54WZUdP1zvoSxQ1/E2iJIfFPEaI\ngm2U\r\n=o4st\r\n-----END PGP SIGNATURE-----\r\n","size":3653,"noattachment":false,"key":"/@slack/logger/-/@slack/logger-2.0.0.tgz"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"npm":">= 5.5.1","node":">= 8.9.0"},"gitHead":"60a33b5de096255c4c1b714d3ff1c820e1b50e33","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":"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_2.0.0_1570660153957_0.8400498658590299","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":1570660154090,"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":1570660154090,"dist-tags":{"latest":"5.0.0","rc":"5.0.0-rc.1"}}