{"name":"logging","version":"2.0.10","description":"Super sexy color console logging.","homepage":"http://github.com/dylang/logging","author":{"name":"Dylan Greene","email":"dylang@gmail.com"},"contributors":[{"name":"Dylan Greene","email":"dylang@gmail.com"}],"repository":{"type":"git","url":"git://github.com/dylang/logging.git"},"bugs":{"email":"dylang@gmail.com","url":"http://github.com/dylang/logging/issues"},"main":"index","engines":{"node":">=0.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/isaacs/npm/raw/master/LICENSE"}],"_npmJsonOpts":{"file":"/Users/dgreene/.npm/logging/2.0.10/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"logging@2.0.10","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.27","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"fd29d55c0ee37401c610c04fcd4b30488e4211ef","tarball":"http://registry-npm.ywwl.com/logging/download/logging-2.0.10.tgz","integrity":"sha512-qdHfZMnS/vFlrVF/WhXH2fxQ+a7d5JnswahJ0LnXulf3PBjmuleBA87eWKHJkpSF5JHtNz/w3vFG0U3Jip1u1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHldIuG2VzM5xl9SptWiw46J+Z/dtT1yvy/VoMK/6a2wIgdYHnEkwN0jVfQXQRDBtMti3h9ypboa+YvkKKeEkQTlM="}],"size":8023,"noattachment":false,"key":"/logging/-/logging-2.0.10.tgz"},"maintainers":[{"name":"dylang","email":"dylang@gmail.com"}],"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":1314656477213,"_cnpm_publish_time":1314656477213,"dist-tags":{"latest":"4.2.0","pr":"4.0.0-pr18.16"}}