{"_id":"wolverine","_rev":"29-9dbb305579bbc5dc59c6594604c9af28","name":"wolverine","description":"Useful library for server-side logging","dist-tags":{"latest":"0.1.4"},"versions":{"0.0.1":{"name":"wolverine","version":"0.0.1","description":"Library for server-side logging with a lot of options","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"ansi":"^0.2.1"},"bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.0.1","dist":{"shasum":"a2b2fd65eb1c251a0ed5ccfa2bde4cf079392c45","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.0.1.tgz","integrity":"sha512-4i9qhSZs8tPWYF9zVlGUnV8VEi/WbtTGMZnm2YroYYnaXhbzhcPM1PrMW0tQAwUT1BcWpJEURFEALaevHtzxrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE/HT//5qXWIoKpe258jIxiFSItfOCnEZlcPYXkHcSOfAiBOvxXml0nXvSt7lGUv2CUs8NsCmGeTEX8mzEXkktI9zw=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}]},"0.0.2":{"name":"wolverine","version":"0.0.2","description":"Useful library for server-side logging","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"ansi":"^0.2.1"},"bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.0.2","dist":{"shasum":"4a64099c1532e74009a91f7064520c705e5b3497","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.0.2.tgz","integrity":"sha512-it5n/2b2RIW1AJgNMXH7jdf7nlP8DKabUBTrhHlfcmSrTljInm4e1AmL42lGWeebt65OM2xo0L5s2iTdsBwp7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDs/A6XwEG5Uz70CZGkKW8BJqQrM7heoLr0TBNZskrLgIhAMt2UzD++or+J4HR9FO5omekeSrEdmonB7iKFpC3CPM3"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}]},"0.0.3":{"name":"wolverine","version":"0.0.3","description":"Useful library for server-side logging","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"ansi":"^0.2.1"},"bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.0.3","dist":{"shasum":"7afdbfd468d704e57b256ce3610a7fa438b9a1b6","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.0.3.tgz","integrity":"sha512-dSUyn7Zf9VER5PFcbkxI3BnQOkBIYgcDH2pjd0pDA2HnFn0YOIT+OL+7Vh/CP5bjnlarGAdC7UVyXYmIbwGA0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIElwyYcLjkH6AJQfa5JWpAlbNM1WUECdH2NMH5f6wCm2AiAWsul1c9FhVW3YmZiapHtlo4DZHiZiPaHTEqVzsKEpRA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}]},"0.0.4":{"name":"wolverine","version":"0.0.4","description":"Useful library for server-side logging","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"ansi":"^0.2.1"},"bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.0.4","dist":{"shasum":"c147f6bf76d72db0b0c0486fb1a837d4d356dba6","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.0.4.tgz","integrity":"sha512-KaiZ3jypRX7pqhWMEw6dFS2mOwJOHIPbAcU3B//l5xk+LIP60toovAfJgVH85hxG/B3gy2G3traWGF3QlhIcIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1qkumqPsSW3ishz0bX0T7JfeYfvg+9ieZ/9+Ph+JpxAIge4qibbSfKoSohfzsDFxFnEHjEXAyzczGk0vEAL6nXLc="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}]},"0.0.5":{"name":"wolverine","version":"0.0.5","description":"Useful library for server-side logging","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"ansi":"^0.2.1"},"bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.0.5","dist":{"shasum":"9ada6fa087352be9b8afa8f34454c50db16e21c7","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.0.5.tgz","integrity":"sha512-y3aidqmdxoVruiYLfjWbINIY8c3QDXQjIy3iz5AhSZf7RhqLPTzfppt2Pp4fEKO+ayJF9siNs1Y38e6h0skJLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzSqn5WMbxMNCnRdpgcIMRN9fr8awu5thLA8eLalMJ0QIgdcKlAGBhyC9SSKlFMoRLjZ7lD7mFqOBJKJFq3gtW6sU="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}]},"0.0.6":{"name":"wolverine","version":"0.0.6","description":"Useful library for server-side logging","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"ansi":"^0.2.1"},"bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.0.6","dist":{"shasum":"6fbcaa8954bba1a2705f6e848b3765dce5204860","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.0.6.tgz","integrity":"sha512-TblWI8ZfElFLquXdGjpxFwl25bzW++gOCUmJT9m0+FeY2bR5RQ4/gbfUqPQlEwTZN0gLJQ5aLynjYUm/MBYOcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWpH/VuJq+uFMkhAPYRXRgL7eNEVtK0JqowYm5WwDPOwIhAIORyMBxz0F9j1F6N+6gb8a6f0aqHxjyF4LBCCnmGktC"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}]},"0.0.7":{"name":"wolverine","version":"0.0.7","description":"Useful library for server-side logging","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"ansi":"^0.2.1"},"bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.0.7","dist":{"shasum":"df8dd2ba05a6e15be2213e628537dd899ae8baa6","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.0.7.tgz","integrity":"sha512-ODs68p1dnnHVfsRnWmNdFp1CRXitzm0xLZQwZuxflR9RNVB1zMgTEfXufUpMRF3ALOYzatugWDd24Cd9MQofCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFCf2K88lK7HDKt0MVgCUXQYCwizjdnTDlH967+Gljr6AiEAsWs9GKdTTDzgqzsXgE0kLIUu/pPaxoMVKq/cITwDHRs="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}]},"0.0.8":{"name":"wolverine","version":"0.0.8","description":"Useful library for server-side logging","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"ansi":"^0.2.1"},"bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.0.8","dist":{"shasum":"07ba0feaaf1ac522f042d8fde204742fb9dd546e","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.0.8.tgz","integrity":"sha512-IjU8PGYkYy7xWDZV9tVlaoXHNtSHy7Iiecy5TUsN+WUR2rPUYguTHYbOYZK0HWBWqTeURp4nZnePiXk0xrZf1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFsk7BWEhBw6NXzMpkHgH3jcgsEJJFyAt5Q3qEinqW7JAiEAkHQtCpa+lJhPUrjQtTa7ViK0bpkynEP8OXPs4S8IRDE="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}]},"0.1.0":{"name":"wolverine","version":"0.1.0","description":"Useful library for server-side logging","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"chalk":"0.5.1","wolverinejs-stream":"0.0.1"},"gitHead":"ae53bfbfb628aee83bb4bf4215ea1fc8ecf5728b","bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.1.0","_shasum":"f17f7f46cd3f023bb53003662f830a07d06c8bf9","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}],"dist":{"shasum":"f17f7f46cd3f023bb53003662f830a07d06c8bf9","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.1.0.tgz","integrity":"sha512-qhAeLX3wMuiw074/BnflY23hcZLU+MK+nQokGqrYa70IhwLQj1XOt0L2NxxGSh4ahbdvrrPjaLluz7Czybs1uQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYu02FAGn4YKVpXQtsma4l4iGs+OZ1MJel4K4mnf/TJAIgGSAgueiLDa0Ku0Wa3jDnDDYbBZc91/xsVolYpqPuVGU="}]}},"0.1.1":{"name":"wolverine","version":"0.1.1","description":"Useful library for server-side logging","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"chalk":"0.5.1","wolverinejs-stream":"0.0.1"},"gitHead":"cd441245a5fa0ef847faa53e420dc4f126c3dffb","bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.1.1","_shasum":"6fad5e4cff6637cbc4f9bc5caff28c98ea1237a6","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}],"dist":{"shasum":"6fad5e4cff6637cbc4f9bc5caff28c98ea1237a6","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.1.1.tgz","integrity":"sha512-Yh8ZTRMDRpmHOuxNzNvlK0OAqLAWxMf+he12LoL91ILSINGUvWyI0EppDl1xdMPXSF6+aVsp3wk2+TyB7wwuDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQw7MogOm3p/rCg1uxSVS0VGTrHaVsfataKwet0zs18AiEA9CqCp3TKwMI6a8B1L5U9Bf3GOH4Wx0o2r4QDXoWTRBg="}]}},"0.1.2":{"name":"wolverine","version":"0.1.2","description":"Useful library for server-side logging","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"chalk":"0.5.1","wolverinejs-stream":"0.0.1"},"gitHead":"84710f13cf49c03f48882897a9573687128c4385","bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.1.2","_shasum":"b45cd05dd70a187cb1df6c7d763d1320e7b3666c","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}],"dist":{"shasum":"b45cd05dd70a187cb1df6c7d763d1320e7b3666c","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.1.2.tgz","integrity":"sha512-Yh4F6BUhDm7ZOiCP9Bnn1PLD2RzRS32N02r6WeQ4ICuUKDrXD9ztlaE6iqcOdOg57tnenVmHb0Yx473B7OLIqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAb3LrNJmWYjRbmVqbUwdwWtP9C71j/7VwekIyMmyRxUAiAochUKlSjN5QAs9UpGqm6G7t49YxkA9PxiQOgSZVcbfw=="}]}},"0.1.3":{"name":"wolverine","version":"0.1.3","description":"Useful library for server-side logging","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"chalk":"0.5.1","wolverinejs-stream":"0.0.1"},"gitHead":"88d9db3a177172fab5664bda3f11c1110105b28a","bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.1.3","_shasum":"3e1e15a9057ecb7db151eb26613a88f46a33e596","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}],"dist":{"shasum":"3e1e15a9057ecb7db151eb26613a88f46a33e596","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.1.3.tgz","integrity":"sha512-2+05waQgesr6KdCCnpCBjC5FHcrDyiHeHEqEYIdiHPd+HCW/vcxS/TbMqW0i8oG+0AV/+h8x7R7ewCUA3lRp5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF0HjRB0mKVHUJn2bSLLu7Q9S7GH2oEoYHiKp2c9ttmvAiEAhB8GqKMvxEXaJykBET4bM6uBtTT+4uhIfyrxUQ9Xd1A="}]}},"0.1.4":{"name":"wolverine","version":"0.1.4","description":"Useful library for server-side logging","main":"lib/wolverine.js","repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"scripts":{"test":"grunt test"},"keywords":["log","logging"],"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"devDependencies":{"grunt":"^0.4.4","mocha":"^1.17.1","chai":"^1.9.0","load-grunt-tasks":"^0.4.0","grunt-mocha-cli":"^1.7.0"},"dependencies":{"chalk":"0.5.1","wolverinejs-stream":"0.0.1"},"gitHead":"f68e0cdb5a057ee2a5e6e45885fa270fb796d627","bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"homepage":"https://github.com/talyssonoc/wolverinejs","_id":"wolverine@0.1.4","_shasum":"03011c83583e54f9e14d8a80447873ce64d6f877","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}],"dist":{"shasum":"03011c83583e54f9e14d8a80447873ce64d6f877","tarball":"https://registry.npmjs.org/wolverine/-/wolverine-0.1.4.tgz","integrity":"sha512-iaL5opAg28P7ImjYv2VGSK9hN3kenTy9HvpBJmitLJ4hoZO+17lvln483L3kU2VpFBbNaYX00g9drCWV9Tn3pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG0yVzjPxMGG3pXS7sl/gtavpCEYdICwcz88NSK+MBahAiEAo9KpXKP0+LlzbA8FrqNuPxt1703Kydg0EyGGbbIA0zw="}]}}},"readme":"# WolverineJS\r\n\r\n[![Build Status](https://travis-ci.org/talyssonoc/WolverineJS.svg?branch=master)](https://travis-ci.org/talyssonoc/WolverineJS)\r\n\r\nUseful library for server-side logging\r\n\r\n## Install WolverineJS\r\n\r\n`npm install wolverine`\r\n\r\n## Usage\r\n\r\nInstantiate a new WolverineJS object\r\n\r\n```js\r\nvar Wolverine = require('wolverine');\r\n\r\nvar logger = new Wolverine([Wolverine.<LEVEL>], [options]); //For levels and options check the sessions below\r\n```\r\n\r\nLog it!\r\n\r\n```js\r\nlogger.<LEVEL>('Title', 'Hi, I\\'m %s and I\\'m awesome', 'WolverineJS');\r\n```\r\n\r\n## Instantiating and logging\r\n\r\nYou can instantiate a WolverineJS object in four ways:\r\n<br/><br/>\r\nDefault level (Wolverine.ALL) and options (show time and print to the terminal)\r\n<br/>\r\n```js\r\nvar logger = new Wolverine();\r\n```\r\n<br/>\r\nDefault options (show time and print to the terminal) and custom level. Level must be a WolverineJS level constant (see below)\r\n<br/>\r\n```js\r\nvar logger = new Wolverine(Wolverine.<LEVEL>);\r\n```\r\n<br/>\r\nDefault level (Wolverine.ALL) and custom options. Options must be an object\r\n<br/>\r\n```js\r\nvar logger = new Wolverine(options);\r\n```\r\n<br/>\r\nCustom level and options\r\n<br/>\r\n```js\r\nvar logger = new Wolverine(Wolverine.<LEVEL>, options);\r\n```\r\n<br/>\r\nThen just log with one of the levels:\r\n```js\r\nlogger.verbose('Message');\r\nlogger.info('Title', 'Message');\r\nlogger.warn('Title', 'Hi, I\\'m %s and I\\'m awesome', 'WolverineJS');\r\ntry {\r\n    throw new Error('Surprise!');\r\n}\r\ncatch(e) {\r\n    logger.error(e);\r\n    logger.error(e, {printStack: true});\r\n\r\n}\r\n```\r\n\r\nLogging with 3 or more parameters will follow the [util.format](http://nodejs.org/api/util.html#util_util_format_format) signature\r\n\r\n## Default levels\r\n\r\n* `Wolverine.ALL` Logs everything\r\n* `Wolverine.VERBOSE` Informal message\r\n* `Wolverine.DEBUG` Messages to help debugging the app\r\n* `Wolverine.INFO` Informational message\r\n* `Wolverine.WARN` Warning condition\r\n* `Wolverine.ERROR` An error ocurred\r\n* `Wolverine.FATAL` System is unusable\r\n* `Wolverine.OFF` Logs nothing\r\n\r\n## Options\r\n\r\n* `output` (default: Nothing)\r\n    * If ommited, print to the terminal\r\n    * `String` Path to a file where the logs will be writen\r\n    * `Stream` Log messages will be writen to the stream\r\n* `printTime` Show time in the beginning of each line (default: true)\r\n* `printStack` If an Error object is passed to be logged, print its error stack (default: false). This flag can also be passed when a log method is called\r\n* `printLevel` If the level name must be printed before the message (default: true)\r\n* `printFileInfo` If the file and line number must be logged (default: false)\r\n* `driver` If you want to write the output to an API or service, you can use a driver. See below.\r\n\r\n### Driver\r\n\r\nThe `driver` option is an object with two attributes, `lib` and `config`.\r\n\r\nThe first one must be a class, that receives two parameters in the constructor: a WolverineJS logger, and the\r\n`config` attribute you've passed in the `driver` option.\r\n\r\nThis class must have an instance method called `write`. This method receives two parameters,\r\nthe first is the log message in its \"default\" format (with the color codes, that you can remove using\r\nthe `wolverineObj.chalk.stripColor(message)` method from the WolverineJS instance that comes in\r\nthe first parameter of the constructor, and the second is an object with the information\r\nin case you want to make your own format inside your driver.\r\n\r\nThis second parameter will have the following attributes:\r\n\r\n* `title` The title of the message, if any\r\n* `message` The message logged\r\n* `level` The name of the level\r\n* `date` The Date object of the time it was logged\r\n* `file` The file the log came from\r\n* `line` The line of the file the log came from\r\n* `error` The error object if it was logged an Error\r\n\r\nIf you disabled one of this options (e.g. { printStack: false }), the attribute won't be on the object.\r\n\r\nYou can see an example of the implementation of a driver in the [wolverinejs-stream](https://github.com/talyssonoc/wolverinejs-stream/blob/master/index.js) package.\r\n\r\n## API\r\n\r\n* `logger.<levelName>()` Check the session `Instantiating and logging`\r\n* `logger.setLevel(Wolverine.<LEVEL>)` Set the logger to the given logging level\r\n* `logger.getLevel()` Returns the current logging level\r\n* `logger.addLevel(level, [newLevelOptions])` Adds a new level to the logger (see below)\r\n* `logger.outputStream` The stream WolverineJS writes to\r\n\r\n## Options to add a new level\r\n\r\n* `priority` Priority to the new level. Must be a WolverineJS level or a number (default: Wolverine.ALL)\r\n* `color` Foregroung color of the output. (default: white, see the colors below)\r\n* `bg` Background color of the output (default: transparent, see the colors below)\r\n* `underline` If the output must be underlined (default: false)\r\n* `bold` If the output must be bold (default: false)\r\n\r\n### Colors\r\n\r\n* `red`\r\n* `green`\r\n* `yellow`\r\n* `blue`\r\n* `magenta`\r\n* `cyan`\r\n* `white`\r\n* `gray`\r\n* `black`","maintainers":[{"name":"talyssonoc","email":"talyssonoc@gmail.com"}],"time":{"modified":"2022-06-29T03:03:11.993Z","created":"2014-03-13T06:42:17.033Z","0.0.1":"2014-03-13T06:42:17.033Z","0.0.2":"2014-03-13T17:04:14.189Z","0.0.3":"2014-03-14T00:11:02.460Z","0.0.4":"2014-03-14T21:48:37.804Z","0.0.5":"2014-03-14T22:06:41.474Z","0.0.6":"2014-03-21T01:09:24.598Z","0.0.7":"2014-03-21T15:36:05.083Z","0.0.8":"2014-03-28T03:18:36.373Z","0.1.0":"2014-08-12T00:31:18.224Z","0.1.1":"2014-08-12T00:40:09.631Z","0.1.2":"2014-08-12T02:59:26.442Z","0.1.3":"2014-08-13T14:28:32.556Z","0.1.4":"2014-12-24T04:42:07.952Z"},"homepage":"https://github.com/talyssonoc/wolverinejs","keywords":["log","logging"],"repository":{"type":"git","url":"git://github.com/talyssonoc/wolverinejs.git"},"author":{"name":"talyssonoc","email":"talyssonoc@gmail.com"},"bugs":{"url":"https://github.com/talyssonoc/wolverinejs/issues"},"readmeFilename":"README.md","users":{"romanenko":true}}