{"name":"eazy-logger","description":"Simple cli logger","version":"4.1.0","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"}],"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"},"dependencies":{"chalk":"4.1.2"},"devDependencies":{"chai":"^3.5.0","jshint":"^2.6.0","lodash-cli":"4.12.0","mocha":"^10.2.0","sinon":"^1.12.2","strip-ansi":"^6.0.1"},"keywords":["plugins"],"_id":"eazy-logger@4.1.0","gitHead":"a2e0ddc4d7e263a6dcbdaaa450ae8185349f2b82","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-+mn7lRm+Zf1UT/YaH8WXtpU6PIV2iOjzP6jgKoiaq/VNrjYKp+OHZGe2znaLgDeFkw8cL9ffuaUm+nNnzcYyGw==","shasum":"d4dae8688b0d730ba1ae6065410b7a51df9990b4","tarball":"http://registry-npm.ywwl.com/eazy-logger/download/eazy-logger-4.1.0.tgz","fileCount":5,"unpackedSize":97239,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBABxzJqXEu0FExt8rAdUagv1TSUUTWUz6zUUtNFS6yHAiBQFJsi/8UpuYuH481BT3Urz8Znv/YICY/12qgvAzraXQ=="}],"size":23466,"noattachment":false,"key":"/eazy-logger/-/eazy-logger-4.1.0.tgz"},"_npmUser":{"name":"shakyshane","email":"shakyshane@gmail.com"},"directories":{},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eazy-logger_4.1.0_1743602021493_0.7889811959371955"},"_hasShrinkwrap":false,"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":1743602021726,"_cnpm_publish_time":1743602021726,"dist-tags":{"latest":"4.1.0"}}