{"name":"webpack-log","version":"3.0.1","description":"A logger for the Webpack ecosystem","license":"MPL-2.0","repository":{"type":"git","url":"git+https://github.com/shellscape/webpack-log.git"},"author":{"name":"shellscape"},"homepage":"https://github.com/shellscape/webpack-log","bugs":{"url":"https://github.com/shellscape/webpack-log/issues"},"bin":"","main":"lib/index.js","engines":{"node":">= 8.0.0"},"scripts":{"ci:coverage":"nyc npm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"npm run lint && npm run security","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"npm run test -- --verbose","commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --fix --cache lib test","lint-staged":"lint-staged","security":"npm audit","test":"ava"},"dependencies":{"chalk":"^2.4.2","loglevelnext":"^3.0.1","nanoid":"^2.0.3"},"devDependencies":{"@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.0.0","ava":"^2.2.0","cpy":"^7.0.1","eslint":"^6.0.1","eslint-config-shellscape":"^2.0.2","lint-staged":"^9.2.0","nyc":"^14.1.1","pre-commit":"^1.2.2","prettier":"^1.14.3","sinon":"^7.3.2","standard-version":"^7.0.0"},"keywords":["log","logger","logging","console","terminal","webpack"],"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**"]},"lint-staged":{"*.js":["eslint --fix","git add"]},"nyc":{"include":["lib/**/*.js"],"exclude":["lib/client*.js","test/"]},"pre-commit":"lint-staged","gitHead":"7f4464c0ba4f681a94fbcb4de87875210e5415bb","_id":"webpack-log@3.0.1","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-mX/6BJPPpxco6BGCFZJ96NjgnwBrLQx6d7Kxe1PaJ7KvjI3LFmJK9QgRPCAr9tXrPVawPN1cuM8hJ2Vadnwm+Q==","shasum":"647c42231b6f74d7cc3c3a66510370e635d066ea","tarball":"http://registry-npm.ywwl.com/webpack-log/download/webpack-log-3.0.1.tgz","fileCount":4,"unpackedSize":23211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQzEFCRA9TVsSAnZWagAAoawP/1ovQnkDOz0mz+NBo7MW\nybpv6GqJ6BD+3i36kQsMK/nnz/gQcudU5D1JIVZr+eTmegVpn+xLVe4pXF97\nypJfnHO9R9DODoeHQU3Nk6arsm9vvlUuEQwlCR3E7LGwsGjov4ycEaY3Efsy\nsHoXiVFfkEdHb1p6ZUwBigbsW8SjC02fPyCEISEefP/2qfuDIsbBsYbr8E/5\nsn2CliAlfBbibuhgQfhGDgSh17KX7PGKNE1qVg4p9m4r8OHy6QLdfhbtQK3x\nIecFOzqioC+FRvxhP1VarNTgsD54y7jTf4lz3GijtzlvkTcqAkcoJn+8Pjev\nmOQosVYqN2ybE6YfJbtsyxPVutW8w9hFZE0xGkwvy3Etx4RHtqWsEcp7fEc4\nqnNLhz3/qvT1Lg9XPokxh2m0oxqXM2xABCw/QH5Tl93cQwvpzL7bqd4ccGtf\ni0JsnpEYub+dsu8kVSE7pU84KJwss9cAxPYO/jjzjKY1fec9EZ+dJBvcG0OZ\n8xqIKOQUjnYyo+2tKuMHzq+VIclGfLxyZYDdYoQCNgWERgpmnjnrts0NsMYU\nlcBT5e5aqtS0OLA+A6aioH19TuY7sDn6DTG2KGFk0IsjszxmlDIYWALQjn0x\nWILd+H9phQLHbil+yFovex501VCIcd22Ndu/PzM4rKwnJfFRpKkTnc/piUWp\nRaK5\r\n=kPem\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICACUTt5GiHxtS5oE3voTc6HdxUM1aKcXmldGMBJIP/QAiAi+ZTbO6LKX4QZPZrZpdWdNRvMESEEAM0D3c2LMpJacg=="}],"size":8130,"noattachment":false,"key":"/webpack-log/-/webpack-log-3.0.1.tgz"},"maintainers":[{"email":"wiens.joshua@gmail.com","name":"d3viant0ne"},{"email":"andrew@shellscape.org","name":"shellscape"}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-log_3.0.1_1564684548566_0.14153951681926746"},"_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":1564684548690,"_cnpm_publish_time":1564684548690,"dist-tags":{"latest":"3.0.2"}}