{"name":"webpack-log","version":"3.0.2","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"},"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-config-shellscape":"^2.1.0","lint-staged":"^9.2.0","nyc":"^14.1.1","pre-commit":"^1.2.2","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":"b8defb8ccda1a56fab940c865b67c9ad3430c721","_id":"webpack-log@3.0.2","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-ijm2zgqTY2omtlxRNrtDqxAQOrfAGMxWg9fQB/kuFSeZjx/OkYnfYLqsjf/JkrWOHINMzqxaJDXaog6Mx9KaHg==","shasum":"edf64fe4cabffeb04a03ca44d89f9908a4a9d238","tarball":"http://registry-npm.ywwl.com/webpack-log/download/webpack-log-3.0.2.tgz","fileCount":4,"unpackedSize":23147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSjoCCRA9TVsSAnZWagAArIoQAJXeAtxD0DznphQFICvy\nb1G6504toWSfifA+w9nyk+8DdeGWXzr5tigmLaParACva6ccpQekiVjIOqIb\nP6gLoeMIc/b6sy+dWSuxK1cBb4/eZNFXAdHR77OY55Y0Bs1eAv56oeWKil1E\ngujUeA7Ao7Ds8SR9aKyhQ5bBQr3zSAGPpnorR3UOw+Sw25hGpLLxESrZPscL\ntsNUsw2PvKiaa3vGPBHPiyx+7OIyzyaeYiasVUwXz06eemi/xMeN6I6dc/RQ\nVBHHoAbvfpQ8kKem4jreWuYCFq6nc5Xjx7Iqyejc/AIesuMj6QkBlvH2ChF2\nUP/12IpPAOxu6iWifFFYQVLnkudW3GRfU0DfOa7Mez5YdAijKDnluDV7pFin\ni0WRKz6gDccjz7WqaVkc0+YMVCp+lK1IZSH3Qe7FOejtEiZkkI/E1IXwCScm\n7c8vIZ4DZrlU7WExbF94r5qoKHis/Ne8SXrr6sc9OwUixyXvCNsBKQ4PceRR\nHaE7eAk3zVZ2mmSHye/On9PaSy3KDm3oRlCf9BnO4tg4IEmjjKtuK3iZSuGn\nDXloczvmHpxbtXhhvyz/tMhxqhNU34a6NFRMXMAuGQgxtXDLZ8XvEM2y+dCi\nBdnqWUUbXTk+QQZSIA2s1MUMbQA4QCvvj8eBYS4E1f9oK0l4spWw2D/Rxe1F\nDiQo\r\n=m849\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICjLiptbxTlwLZDR4n/WKghyNZP8jClmC6aAOtqqVjiCAiAbdv2P+ZRvJfd0FVztn3o5mqIPsNOhnQUCpKlzvnC9GQ=="}],"size":8128,"noattachment":false,"key":"/webpack-log/-/webpack-log-3.0.2.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"shellscape","email":"andrew@shellscape.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-log_3.0.2_1615477249559_0.5681574660238307"},"_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":1615477249741,"_cnpm_publish_time":1615477249741,"dist-tags":{"latest":"3.0.2"}}