{"name":"logging","version":"2.0.2","description":"Super sexy logging.  In colour.","homepage":"http://opowerjobs.com","author":{"name":"Dylan Greene","email":"dylang@gmail.com"},"contributors":[{"name":"Dylan Greene","email":"dylang@gmail.com"}],"repository":{"type":"git","url":"http://github.com/dylang/logging"},"bugs":{"mail":"dylang@gmail.com","web":"http://github.com/dylang/logging/issues"},"main":"./lib","engines":{"node":">=0.2.0"},"scripts":{},"licenses":[{"type":"MIT","url":"http://github.com/isaacs/npm/raw/master/LICENSE"}],"_id":"logging@2.0.2","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"tarball":"http://registry-npm.ywwl.com/logging/download/logging-2.0.2.tgz","shasum":"c228d536aa91d57a0901c8e8faafd41d804052e9","integrity":"sha512-baE6JGyw3aCLIWlDJ1vBMAn6veD63dB31P6SDesj8/ny3jY9PSmCWjVEPq3ZzqUP7EccxttS5qPU/YytJKXe6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtmrjQrQHTMdsNTwqJwS669lr48htVuQ1iHVwlUdNKiwIgVzXSqzGUn0iXujsugnDkE4p65M+W4TrOp/Chk5/4Ty8="}],"size":7249,"noattachment":false,"key":"/logging/-/logging-2.0.2.tgz"},"directories":{},"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":1299101918623,"maintainers":[{"name":"dylang","email":"dylang@gmail.com"}],"_cnpm_publish_time":1299101918623,"dist-tags":{"latest":"4.2.0","pr":"4.0.0-pr18.16"}}