{"name":"eazy-logger","description":"Simple cli logger","version":"1.3.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":"GPL","url":"https://github.com/shakyshane/easy-logger/blob/master/LICENSE-GPL"}],"main":"index.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"gulp lint && mocha --recursive test --reporter spec"},"dependencies":{"tfunk":"^2.0.2","opt-merger":"^0.2.1"},"devDependencies":{"chai":"^1.9.1","sinon":"^1.10.3","gulp-jshint":"^1.8.4","gulp":"^3.8.8","mocha":"^1.21.4"},"keywords":["plugins"],"gitHead":"cbc55a5c04f30a4ebe752de24a93edddfd55cd31","_id":"eazy-logger@1.3.1","_shasum":"0d8cc62b5f9ac02fedea5f232c18921c35e3ccf8","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"shakyshane","email":"shakyshane@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"dist":{"shasum":"0d8cc62b5f9ac02fedea5f232c18921c35e3ccf8","tarball":"http://registry-npm.ywwl.com/eazy-logger/download/eazy-logger-1.3.1.tgz","integrity":"sha512-bztMjXVi8wcGhTRRh+zYeckoPY7+7Au5oZOObggyNqxsgX3O0F+fuZFLYM3OVbU0GZwrnPhqyV5XkH0fmU16Vw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHTM8UPFrDBcapak8MDuRbZTYFe2UzaF6CxsaMiupKuhAiAIs9jU/A7yhlMqhlIiz7iH4KAyg6Cp4VYpXuZHXLdYfg=="}],"size":2918,"noattachment":false,"key":"/eazy-logger/-/eazy-logger-1.3.1.tgz"},"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":1411295595869,"_cnpm_publish_time":1411295595869,"dist-tags":{"latest":"4.1.0"}}