{"name":"clix-logger","version":"0.1.2","description":"Another console log wrapper with colored support and icons","main":"index.js","scripts":{"beautify":"esbeautifier index.js 'src/**/*.js' 'lib/**/*.js' 'specs/**/*.js'","beautify-check":"esbeautifier -k index.js 'src/**/*.js' 'lib/**/*.js' 'specs/**/*.js'","eslint":"eslinter index.js 'src/**/*.js' 'lib/**/*.js' 'specs/**/*.js'","test":"mocha-runner 'specs/**/*.js'","cover":"istanbul cover -x 'specs/**/*.js' mocha-runner 'specs/**/*.js' html text-summary","watch":"npm run cover && watch-spawn -p 'specs/**/*.js' -p 'index.js' -p 'src/**/*.js' npm run cover","lint":"npm run beautify && npm run eslint && npm test","check":"npm run beautify-check && npm run eslint && npm test","changelog":"changelogx -f markdown -o ./changelog.md","do-changelog":"npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify","install-hooks":"prepush install && changelogx install-hook && precommit install","pre-v":"npm run check","post-v":"npm run do-changelog && git push --no-verify && git push --tags --no-verify","bump-major":"npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v","bump-minor":"npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v","bump-patch":"npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v"},"repository":{"type":"git","url":"https://github.com/royriojas/clix-logger"},"license":"MIT","author":{"name":"Roy Riojas","url":"http://royriojas.com"},"prepush":["npm run check"],"precommit":["npm run check"],"devDependencies":{"changelogx":"^1.0.16","esbeautifier":"^4.2.0","eslinter":"^2.1.0","istanbul":"^0.3.17","mocha-runner":"^1.0.8","precommit":"^1.1.0","prepush":"^3.1.2","proxyquire":"^1.6.0","watch-spawn":"^1.0.4"},"dependencies":{"chalk":"^1.1.0","extend":"^3.0.0"},"bugs":{"url":"https://github.com/royriojas/clix-logger/issues"},"homepage":"https://github.com/royriojas/clix-logger","keywords":["console","logger","simple logger","loggy","colored output","color console"],"gitHead":"99e7d9c1a30dbf5dcffbd1ef9c44150175b92220","_id":"clix-logger@0.1.2","_shasum":"31d08b77d2a986fd00f3fbae70e39d7dfb7b70fa","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.12.0","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}],"dist":{"shasum":"31d08b77d2a986fd00f3fbae70e39d7dfb7b70fa","tarball":"http://registry-npm.ywwl.com/clix-logger/download/clix-logger-0.1.2.tgz","integrity":"sha512-gcQIU2gYt2u1LFgMSTzeV4RfI0WN/UDzSzKvqNsm90UmDalyElUPc9+h+DHS/HcvEaN9AWXh5oprwYf15yQ4kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi4a5TUp+0gH/eqajOo+6PUkxbdP+d+KDH81JGxXZX5AIhAIeofqc9ft3o/N9MR7+SnHw10pDFpjrFSh3FaO5EaiY0"}],"size":65410,"noattachment":false,"key":"/clix-logger/-/clix-logger-0.1.2.tgz"},"directories":{},"readme":"[![NPM Version](http://img.shields.io/npm/v/clix-logger.svg?style=flat)](https://npmjs.org/package/clix-logger)\n[![Build Status](http://img.shields.io/travis/royriojas/clix-logger.svg?style=flat)](https://travis-ci.org/royriojas/clix-logger)\n\n# clix-logger\nAnother console log wrapper with colored support and icons\n\n## Install\n\n```bash\nnpm i -g clix-logger\n```\n\n## Usage\n\n```javascript\nvar options = {\n  // Will print the messages using chalk colors. default is false\n  coloredOutput: false,\n  // Will suppress the output of `subtle` and `log` methods\n  // all of the others will still be printed\n  quiet: false // default is false,\n};\nvar logger = require('clix-logger')(options);\nlogger.log('some', 'message', 'here');\n```\n\n## methods\n\n- `ok(arg1[, arg2, ...argn] )`\n- `subtle(arg1[, arg2, ...argn] )`\n- `log(arg1[, arg2, ...argn] )`\n- `success(arg1[, arg2, ...argn] )`\n- `error(arg1[, arg2, ...argn] )`\n- `print(arg1[, arg2, ...argn] )`\n\n**NOTES**:\n\n- All the methods above use `console.log` to print the messages, except the `error` one, which uses `console.error`.\n- `subtle` and `log` are suppressed when `options.quiet` is specified.\n- `print` does not have an icon at the beginning of the line\n\n## Example\n\nthe following code\n\n```javascript\nvar logger = require('clix-logger')({ coloredOutput: true });\n\n# will use yellow color\nlogger.ok( 'a', 'simple', 'message', 'of', 'type', 'ok', {\n  coloredOutput: false\n}, [ 1, 2, 3 ] );\n\n# will use white color\nlogger.subtle( 'a', 'simple', 'message', 'of', 'type', 'subtle', {\n  coloredOutput: false\n}, [ 1, 2, 3 ] );\n\n# will use white color\nlogger.log( 'a', 'simple', 'message', 'of', 'type', 'log', {\n  coloredOutput: false\n}, [ 1, 2, 3 ] );\n\n# will use red color\nlogger.error( 'a', 'simple', 'message', 'of', 'type', 'error', {\n  coloredOutput: false\n}, [ 1, 2, 3 ] );\n\n# will use gray color\nlogger.print( 'a', 'simple', 'message', 'of', 'type', 'print', {\n  coloredOutput: false\n}, [ 1, 2, 3 ] );\n\n# will use green color\nlogger.success( 'a', 'simple', 'message', 'of', 'type', 'success', {\n  coloredOutput: false\n}, [ 1, 2, 3 ] );\n```\n\nWill produce this output:\n\n![screenshot](screenshot.png)\n\n## License\n\n[MIT](./LICENSE)\n\n## Changelog\n\n[Changelog](./changelog.md)\n","publish_time":1439315927483,"_cnpm_publish_time":1439315927483,"dist-tags":{"latest":"2.0.0"}}