{"name":"logging","version":"3.3.0","description":"Lightweight informative modern console logging.","main":"lib","browser":"lib/browser.js","scripts":{"start":"babel-node src","test":"npm -s run lint && ava --verbose && npm -s run example","update-snapshots":"ava --verbose --update-snapshots","lint":"eslint -c .eslintrc.js . --fix","build":"babel src --out-dir=lib","outdated":"npm-check -s","example":"babel-node examples/simple.js","prepublish":"npm -s run build","precommit":"npm -s run test","np":"np"},"repository":{"type":"git","url":"http://github.com/dylang/logging"},"author":{"name":"Dylan Greene","email":"dylang@gmail.com"},"license":"MIT","dependencies":{"chalk":"^4.1.0","debug":"^4.3.1","nicely-format":"^1.1.0"},"devDependencies":{"ava":"^3.15.0","babel-cli":"^6.23.0","babel-core":"^6.23.1","babel-polyfill":"^6.23.0","babel-preset-env":"^1.1.6","babel-runtime":"^6.23.0","eslint":"^7.19.0","eslint-config-xo":"^0.34.0","eslint-loader":"^4.0.2","eslint-plugin-ava":"^11.0.0","eslint-plugin-import":"^2.0.1","eslint-plugin-no-use-extend-native":"^0.5.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-unicorn":"^27.0.0","husky":"^4.3.8","mockdate":"^3.0.2","nodemon":"^2.0.7","np":"^7.2.0","npm":"^7.5.2","npm-check":"^5.4.0","sinon":"^9.2.4"},"engines":{"node":">= 4"},"ava":{"require":["babel-register"]},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2010 Dylan Greene\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"logging@3.3.0","dist":{"shasum":"5743f9154f790308c5d6f2e28196dd0259fcf0ad","integrity":"sha512-Hnmu3KlGTbXMVS7ONjBpnjjiF9cBlK5qsmj77sOcqRkNpvO9ouUGPKe2PmBCWWYpKAbxb96b08cYEv4hiBk3lQ==","tarball":"http://registry-npm.ywwl.com/logging/download/logging-3.3.0.tgz","fileCount":13,"unpackedSize":13151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHZDvCRA9TVsSAnZWagAA40EP/jpDde615dDBadgJGGoZ\nasNZz6MtWBFJ7G1GS/PFd/A/7vR8yN0PWtRIcJBfbGp9u7sGLwfCBRxM7Dfn\nMKOvvCCluoClrB5am76fZxlffLjGNZQCbPfDZ3JhLOXuYeoKHrQ2Y45NNKuo\nnZjcmSvmr/cnwtM0Nc6vXm4Y96C/UIEWJo/4xGkFzHJO2e7xs+rHn+rOg2jo\nPFXmV+ZBvN+VSA40shQcLZwQCmExgWnMik+XakY3VfTQkmVF8CsmH+V6+79f\nM0B5gqWODD82Bgfv0hUrrx94NN0sNoORv5gsAbtGw7U5rTiPfWb6sxLavAcX\nwi+qWDfz861AZas2+IU3JvoGEJkht6F4StGEF0kBDr1FELNbPgiIZ2xbiqsz\ndaeScmvLZuaNJ5wOtoc9XC4OUb0dbYCbflcz4WJeqeEWUwDGlT42J57XLna7\nb340i6lwT7YSvAOq0ERbxOYT0Vd5P8mOh4vwuAtl405SWvfR8fkCft/aP4Ev\nebNRKxIuYpXvIzLOX8EQemtsxY3CurHdM85jUrkEZdVtKKAhWk3f2D0xRGuI\nHyZDsOcZqz81a/P6cmaY8xP44dgWmxNjmfopTXHCWtvliGJ+PoqRfdDiqN8h\nqM6R+LJOb7y9GT8pVf2TBgZkM2gNW0ba3jB6Gni83AnzoO4nWPmacg2+yPD5\niyuj\r\n=KUK6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4j9RI5o9K+kfSNB6QUqE8N2SxIX+ftRcx/WgMUtR41AIhAPqRZI5YSX+m9u5xd66bMZM59swOYhqzOtFzrL2AzlSa"}],"size":4094,"noattachment":false,"key":"/logging/-/logging-3.3.0.tgz"},"_npmUser":{"name":"dylang","email":"dylang@gmail.com"},"directories":{},"maintainers":[{"name":"dylang","email":"dylang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logging_3.3.0_1612550383154_0.27500165874097804"},"_hasShrinkwrap":false,"readme":"# Logging  [![Build Status](https://secure.travis-ci.org/dylang/logging.svg)](https://travis-ci.org/dylang/logging)\n\n> Lightweight informative modern console logging.\n\n[![logging](screenshots/screenshot.png)](screenshots/screenshot.png)\n\n## Install\n\n```sh\nyarn add logging\n```\n\n## Features\n* Simple.\n* Log levels.\n* Nice coloring.\n\n## Usage\n\n```js\n// or const createLogger = require('logging');  \nimport createLogger from 'logging';\n\nconst logger = createLogger('FeatureName');\n\nlogger.info('Interesting');\n// -> [ Feature ] Interesting\n\nlogger.warn('Hmmm...', { details });\n// -> [ WARNING Feature ] Hmmm... { details object }\n\nlogger.error('Not good.', 'Not good at all.', { err }, { context }, { etc });\n// -> [ ERROR Feature ] Not good. Not good at all. { err } { context } ...\n\n// uses the debug module, use DEBUG=* or DEBUG=FeatureName to see these items.\nlogger.debug('Interesting');\n// -> [ Feature ] Interesting\n```\n","publish_time":1612550383331,"_cnpm_publish_time":1612550383331,"dist-tags":{"latest":"4.2.0","pr":"4.0.0-pr18.16"}}