{"name":"eazy-logger","description":"Simple cli logger","version":"3.0.1","homepage":"https://github.com/shakyshane/easy-logger","author":{"name":"Shane Osbourne"},"repository":{"type":"git","url":"git://github.com/shakyshane/easy-logger.git"},"bugs":{"url":"https://github.com/shakyshane/easy-logger/issues"},"licenses":[{"type":"Apache 2.0","url":"https://github.com/shakyshane/easy-logger/blob/master/LICENSE"}],"files":["index.js","example.js"],"main":"index.js","engines":{"node":">= 0.8.0"},"scripts":{"lint":"jshint index.js test/*.js","test":"npm run lint && mocha","lodash":"lodash include=cloneDeep,merge exports=node","cover":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"},"dependencies":{"tfunk":"^3.0.1"},"devDependencies":{"chai":"^3.5.0","chalk":"^1.1.1","coveralls":"^2.11.2","jshint":"^2.6.0","lodash-cli":"4.12.0","mocha":"^2.1.0","sinon":"^1.12.2"},"keywords":["plugins"],"gitHead":"fa694cc08826b884a83e1f09e1ea943eb1a75548","_id":"eazy-logger@3.0.1","_shasum":"afffccfe8d4d8a0af9125aaabcb1f041b99d442b","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"shakyshane","email":"shakyshane@gmail.com"},"dist":{"shasum":"afffccfe8d4d8a0af9125aaabcb1f041b99d442b","tarball":"http://registry-npm.ywwl.com/eazy-logger/download/eazy-logger-3.0.1.tgz","integrity":"sha512-GRPTHTUJKttI1Zbfo1UTjcWsdPwtFatkUnHbowwatFkkNFPtxPMczIZ0HCNXaRO0CAIa7BpPLYVyJSN/Qi0fBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFNp1Wa5HmqpJkKFdHTfUoz3elRrikUYAXnqRQeLWKk/AiEA1J402DP1VYvkJXXRbCSZh9VLs+7Ocy7XfmgsF3FxqHc="}],"size":6671,"noattachment":false,"key":"/eazy-logger/-/eazy-logger-3.0.1.tgz"},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/eazy-logger-3.0.1.tgz_1463412920723_0.6693341163918376"},"directories":{},"readme":"##eazy-logger [![Build Status](https://travis-ci.org/shakyShane/easy-logger.svg?branch=master)](https://travis-ci.org/shakyShane/easy-logger) [![Coverage Status](https://img.shields.io/coveralls/shakyShane/easy-logger.svg)](https://coveralls.io/r/shakyShane/easy-logger?branch=master)\n\n[tFunk](https://github.com/shakyShane/tfunk) + [String Substitution](http://nodejs.org/docs/latest/api/console.html#console_console_log_data)\n\n![preview](http://cl.ly/image/3K2E2d111l15/Screen%20Shot%202014-09-17%20at%2020.49.17.png)\n\n##Install\n\n```\n$ npm install eazy-logger --save\n```\n\n##Usage\n\n```js\nvar logger  = require(\"eazy-logger\").Logger({\n    prefix: \"{blue:[}{magenta:easy-logger}{blue:] }\",\n    useLevelPrefixes: true\n});\n```\n\n```js\n/**\n * Standard loggers + prefixes\n */\nlogger.debug(\"Debugging Msg\");\nlogger.info(\"Info statement\");\nlogger.warn(\"A little warning with string %s\", \"substitution\");\nlogger.error(\"an error occurred in file: {red:%s}\", \"/users/awesomedev/file.js\");\n```\n\n```js\n/**\n * Use string substitution + colours\n */\nlogger.log(\"error\", \"Use {green:built-in} %s\", \"String substitution\");\n```\n\n```js\n/**\n * Set an option for the next log statement only\n */\nlogger.setOnce(\"useLevelPrefixes\", true).warn(\"Use {green:built-in} %s\", \"String substitution\");\n```","publish_time":1463412922720,"_cnpm_publish_time":1463412922720,"dist-tags":{"latest":"4.1.0"}}