{"name":"logging","version":"3.2.0","description":"Lightweight informative modern console logging.","main":"lib","browser":"lib/browser.js","files":["lib","src"],"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":"git+ssh://git@github.com/dylang/logging.git"},"author":{"name":"Dylan Greene","email":"dylang@gmail.com"},"license":"MIT","dependencies":{"nicely-format":"^1.1.0","chalk":"^1.1.3","debug":"^2.6.1"},"devDependencies":{"ava":"^0.18.2","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":"^3.16.0","eslint-config-xo":"^0.17.0","eslint-loader":"^1.6.0","eslint-plugin-ava":"^4.2.0","eslint-plugin-import":"^2.0.1","eslint-plugin-no-use-extend-native":"^0.3.11","eslint-plugin-promise":"^3.4.2","eslint-plugin-unicorn":"^2.0.1","husky":"^0.13.1","mockdate":"^2.0.1","nodemon":"^1.11.0","np":"^2.12.0","npm":"^4.2.0","npm-check":"^5.4.0","sinon":"^2.0.0-pre.4"},"engines":{"node":">= 4"},"ava":{"require":["babel-register"]},"gitHead":"623d19f25806415b0e71329a34d52d1ad25566ed","bugs":{"url":"https://github.com/dylang/logging/issues"},"homepage":"https://github.com/dylang/logging#readme","_id":"logging@3.2.0","_shasum":"e35cd05e1ef23ef575d4e5b502605f904e197c6c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"dylang","email":"dylang@gmail.com"},"dist":{"shasum":"e35cd05e1ef23ef575d4e5b502605f904e197c6c","tarball":"http://registry-npm.ywwl.com/logging/download/logging-3.2.0.tgz","integrity":"sha512-60uWZvt0oUj6c4NUmef8Q65Y0hmXZKXKvUUJ2QLUDK90dD3wDL3G6tLpNBHu19utROfVZgOEmix7w1t7EnvpQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtbDthtxGaxXalpQAXxSEmzTQUilzj+nywrRhL3sXDXwIgGBL7PEU4Ncw1WHqOYurlGTi2ardghF3obISDPX4iYOI="}],"size":3750,"noattachment":false,"key":"/logging/-/logging-3.2.0.tgz"},"maintainers":[{"name":"dylang","email":"dylang@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/logging-3.2.0.tgz_1488519001306_0.07674076571129262"},"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":1488519001999,"_cnpm_publish_time":1488519001999,"dist-tags":{"latest":"4.2.0","pr":"4.0.0-pr18.16"}}