{"name":"logging","version":"3.0.0","description":"Lightweight informative modern console logging.","main":"lib","module":"src","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","publish":"np"},"repository":{"type":"git","url":"git+ssh://git@github.com/dylang/logging.git"},"author":{"name":"Dylan Greene","email":"dylang@gmail.com"},"license":"MIT","dependencies":{"@ava/pretty-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.15.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":"328c19b45943aecdbffe99491f1e37d1aa047f61","bugs":{"url":"https://github.com/dylang/logging/issues"},"homepage":"https://github.com/dylang/logging#readme","_id":"logging@3.0.0","_shasum":"602f997421e5dc3b6b6d8827081c34e4060954b1","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"dylang","email":"dylang@gmail.com"},"dist":{"shasum":"602f997421e5dc3b6b6d8827081c34e4060954b1","tarball":"http://registry-npm.ywwl.com/logging/download/logging-3.0.0.tgz","integrity":"sha512-10olTPY8tlTJR5130CNW0WWzZK7C8lS1DNMgVlM0SgLROc/DgV4KGOctD/ECmlQZE28/FjerVKUZHS77sT6zGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDPdl2D8wtDvqFXMYg/IjlmMyU3r9zK/+1XbG4WeY1b1AiEAsx0wlxnZ9Ctp0HB+kPZGmY7NuVv+2siBl44FZ8OLvGw="}],"size":3436,"noattachment":false,"key":"/logging/-/logging-3.0.0.tgz"},"maintainers":[{"name":"dylang","email":"dylang@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/logging-3.0.0.tgz_1487452908182_0.981053456896916"},"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":1487452910132,"_cnpm_publish_time":1487452910132,"dist-tags":{"latest":"4.2.0","pr":"4.0.0-pr18.16"}}