{"name":"webpack-log","version":"2.0.0","description":"A common logger for the webpack ecosystem","main":"src/index.js","files":["src"],"engines":{"node":">= 6"},"scripts":{"lint":"eslint src test","test":"nyc --reporter lcovonly mocha --full-trace --check-leaks","release":"standard-version"},"dependencies":{"ansi-colors":"^3.0.0","uuid":"^3.3.2"},"devDependencies":{"assert":"^1.4.1","eslint":"^5.4.0","eslint-config-webpack":"^1.2.5","eslint-plugin-import":"^2.14.0","mocha":"^5.2.0","nyc":"^12.0.2","sinon":"^6.1.5","standard-version":"^4.4.0","strip-ansi":"^4.0.0"},"author":{"name":"Andrew Powell","email":"andrew@shellscape.org"},"issues":"https://github.com/webpack-contrib/webpack-log/issues","homepage":"https://github.com/webpack-contrib/webpack-log#readme","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/webpack-log.git"},"license":"MIT","gitHead":"72c77ea020425e6aeec956db01b8e500ed80ca1b","bugs":{"url":"https://github.com/webpack-contrib/webpack-log/issues"},"_id":"webpack-log@2.0.0","_npmVersion":"6.4.0","_nodeVersion":"10.9.0","_npmUser":{"name":"michael-ciniawsky","email":"michael.ciniawsky@gmail.com"},"dist":{"integrity":"sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==","shasum":"5b7928e0637593f119d32f6227c1e0ac31e1b47f","tarball":"http://registry-npm.ywwl.com/webpack-log/download/webpack-log-2.0.0.tgz","fileCount":9,"unpackedSize":15708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfuXiCRA9TVsSAnZWagAACJwQAJEIjdDQi2uXld+6gZZT\n6J7QMyswVA0P6r8WEgbUaG74o0BS9kJETHiEiAV5dR8KhmdGO3m08A9T+N8V\nHcKNoGr4QdEhxSiXTJWK0EPwpGFSTWScv40WeQt7Y/DqC6sjvQ3o2zUan2vq\n7fK3ei29rnH+U3obY6pTVGX5kaeik2HS3mF7PDDt1LHEGZotePoN7r/YGEVw\nY5irVs7eKa15ivT86T8AvR6V9r6YxUW04y8jaEwQcdtskyu3jPX6DttCkYDq\nzSgzJhVwLV0/6GdnSr4p8f5Xz99l3vT4d67MlpXoZa/XhsP2OGbzshxYoIcT\nPUHPR89FryStTEms1KYWF9hkOpI66lb3SnM/OG3iEYfGwk08gDw+et8e/pni\nz+eik5IsBSMVh2mIoUjLXEBXncDjRaVRRqtZQO5D/f1AchJJLMmt/inBHIVC\n4cITHt/iX1oK64BU6hf954GbTc/2rhh2OZabYW7BhBBykUdXN61hdu9suNpe\na/D39sXrLa26+oe3rPuQK4abekqfTRBMsqsP9Vk/SvPWaba494cE61GL29ZV\ncoN5ov2GFGOwWbDFYNzOx0Fn4TygvR0bILNwnx/xsh2/CP7f9kvIR2ct1jvW\n6x0sCbGOO0OD7+owzxhpdgBchqpLnS5YpK/zl84hP3SqK3do/V0v2bwq6wrN\nAeiE\r\n=8lsh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEjRvgDdpjPq6JiZ54zt1p0DujGpytP1oV9c+47Sr983AiBLhVID4/3pq3LeKaeoyIuewQT8wzfXlKd+eO270KLauQ=="}],"size":5992,"noattachment":false,"key":"/webpack-log/-/webpack-log-2.0.0.tgz"},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"},{"name":"d3viant0ne","email":"wiens.joshua@gmail.com"},{"name":"shellscape","email":"andrew@shellscape.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-log_2.0.0_1535043041935_0.6962136441284803"},"_hasShrinkwrap":false,"readme":"[tests]: \thttps://img.shields.io/circleci/project/github/shellscape/webpack-log.svg\n[tests-url]: https://circleci.com/gh/shellscape/webpack-log\n\n[cover]: https://codecov.io/gh/shellscape/webpack-log/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/shellscape/webpack-log\n\n[size]: https://packagephobia.now.sh/badge?p=webpack-log\n[size-url]: https://packagephobia.now.sh/result?p=webpack-log\n\n<div align=\"center\">\n\t<img width=\"180\" src=\"https://raw.githubusercontent.com/shellscape/webpack-log/master/assets/log.svg?sanitize=true\" alt=\"webpack-log\"><br/><br/>\n</div>\n\n[![tests][tests]][tests-url]\n[![cover][cover]][cover-url]\n[![size][size]][size-url]\n[![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com)\n\n# webpack-log\n\nA logger for the Webpack ecosystem.\n\n<a href=\"https://www.patreon.com/shellscape\">\n  <img src=\"https://c5.patreon.com/external/logo/become_a_patron_button@2x.png\" width=\"160\">\n</a>\n\n_Please consider donating if you find this project useful._\n\n## Requirements\n\nThis module requires an [LTS](https://github.com/nodejs/Release) Node version (v8.0.0+).\n\n## Install\n\nUsing npm:\n\n```console\nnpm install webpack-log --save-dev\n```\n\n## Usage\n\nCreate a new logger and use it to log something wild:\n\n```js\nconst getLogger = require('webpack-log');\nconst log = getLogger({ name: 'webpack-batman' });\n\nlog.info('Jingle Bells, Batman Smells');\nlog.warn('Robin laid an egg');\nlog.error('The Batmobile lost a wheel');\nlog.debug('And the Joker got away');\n```\n\nAnd there will appear magic in your console:\n\n<div align=\"center\">\n\t<img width=\"369\" src=\"assets/demo.png\" alt=\"console magic\"><br/><br/>\n</div>\n\n## Options\n\n### `level`\nType: `String`<br>\nDefault: `info`\n\nSpecifies the level the logger should use. A logger will not produce output for\nany log level _beneath_ the specified level. Valid level names, and their order are:\n\n```js\n[\n  'trace',\n  'debug',\n  'info',\n  'warn',\n  'error',\n  'silent'\n]\n```\n\nFor example, If a level was passed as `{ level: 'warn'}` then only calls to `warn` and `error` will be displayed in the terminal.\n\n### `name`\nType: `String`<br>\nDefault: `<webpack-log>`\n\nSpecifies the name of the logger to create. This value will be part of the log output prefix.\n\n### `timestamp`\nType: `Boolean`<br>\nDefault: `false`\n\nIf `true`, the logger will display a timestamp for log output, preceding all other data\n\n### `unique`\nType: `Boolean`<br>\nDefault: `true`\n\nIf `false`, the logger will use cached versions of a log with the same name. Due to the nature of the `webpack` ecosystem and multiple plugin/loader use in the same process, loggers are created as unique instances by default.\n\n## Meta\n\n[CONTRIBUTING](./.github/CONTRIBUTING.md)\n\n[LICENSE (Mozilla Public License)](./LICENSE)\n","publish_time":1535043042006,"_cnpm_publish_time":1535043042006,"dist-tags":{"latest":"3.0.2"}}