{"_id":"coolog","_rev":"31-ed7866290c45b94bde44aa35fb13511e","name":"coolog","description":"Colorful logging in NodeJS.","dist-tags":{"latest":"3.0.0"},"versions":{"0.1.5":{"name":"coolog","author":{"name":"Simone Lusenti","email":"simone@plasticpanda.com"},"version":"0.1.5","description":"Colorful logging in NodeJS.","homepage":"http://github.com/plasticpanda/coolog","keywords":["color","console","log","info","warn","error"],"main":"lib/clog","directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/plasticpanda/coolog.git"},"license":"MIT","dependencies":{"colors":"~0.6.0-1"},"_id":"coolog@0.1.5","dist":{"shasum":"bd5bf3369b3ef57d844f2e09de01db88798a755e","tarball":"https://registry.npmjs.org/coolog/-/coolog-0.1.5.tgz","integrity":"sha512-+TNb9KJbh4ZsZDb2WDjJUo338imwwXC0/m9VOnMdorhCRPtPoW393KcaeWLKjwMoLwL6cJLpa8zAQtqTPYDOGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEUm7nmgqtJJJ81WQmz/ItykS1eLuKhhnARMezaelo9wAiAag2Ma3cebTskomJ4GhHXKQxojlhDlIzk7ggL8FREMhQ=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"plasticpanda","email":"simone@plasticpanda.com"},"maintainers":[{"name":"plasticpanda","email":"simone@plasticpanda.com"}]},"0.1.6":{"name":"coolog","author":{"name":"Simone Lusenti","email":"simone@plasticpanda.com"},"version":"0.1.6","description":"Colorful logging in NodeJS.","homepage":"http://github.com/plasticpanda/coolog","keywords":["color","console","log","info","warn","error"],"main":"lib/clog","directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/plasticpanda/coolog.git"},"license":"MIT","dependencies":{"colors":"~0.6.0-1"},"_id":"coolog@0.1.6","dist":{"shasum":"32488662bfeaf56625824cc5f54d97068de86484","tarball":"https://registry.npmjs.org/coolog/-/coolog-0.1.6.tgz","integrity":"sha512-kmDcRRV8wu03QpFFy0juzBvz+gSNn/7fjdY/uD93xxaI+APYxCyi4F86SfgHuNAK5H0f0aRM8Jsgxjn1TbXM+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDmh8yboGiI4BTnRNRi4ytgdxCZJnrOWf2v/WcqbFFN2AiBFvKvb8AyvVOWocvVws2gJwvXWZQCPIHg+pvswb9xgrw=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"plasticpanda","email":"simone@plasticpanda.com"},"maintainers":[{"name":"plasticpanda","email":"simone@plasticpanda.com"}]},"0.1.7":{"name":"coolog","author":{"name":"Simone Lusenti","email":"simone@plasticpanda.com"},"version":"0.1.7","description":"Colorful logging in NodeJS.","homepage":"http://github.com/plasticpanda/coolog","keywords":["color","console","log","info","warn","error"],"main":"lib/clog","directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/plasticpanda/coolog.git"},"license":"MIT","dependencies":{"colors":"~0.6.0-1"},"_id":"coolog@0.1.7","dist":{"shasum":"00e908d744fe09e1792e700cb682b4c91d481e9a","tarball":"https://registry.npmjs.org/coolog/-/coolog-0.1.7.tgz","integrity":"sha512-ODBlfyma4rSzAugZPWjHr5wFxJckNflw8CMwuLerSC+SHruPJaVvmf9wH23EE2MIxK44kW8davyfpze79eLyzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZe5yZFHNweo0kK0IRC8MApse44ryvBN061NdqLI7sRAiA4EmE77qrXB3qy9COr9fYi2ushDdPcQOED28YTzI5zFQ=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"plasticpanda","email":"simone@plasticpanda.com"},"maintainers":[{"name":"plasticpanda","email":"simone@plasticpanda.com"}]},"0.1.8":{"name":"coolog","author":{"name":"Simone Lusenti","email":"simone@plasticpanda.com"},"version":"0.1.8","description":"Colorful logging in NodeJS.","homepage":"http://github.com/plasticpanda/coolog","keywords":["color","console","log","info","warn","error"],"main":"lib/clog","directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/plasticpanda/coolog.git"},"license":"MIT","dependencies":{"colors":"~0.6.0-1"},"_id":"coolog@0.1.8","dist":{"shasum":"2e65f77f90a0aae5612f9cf74ee36d49b2ab4da9","tarball":"https://registry.npmjs.org/coolog/-/coolog-0.1.8.tgz","integrity":"sha512-pzDfrmQNNvXtafQvEGhlpize+J/2xflOhZJpu8nzby2RLa6YwgQoDwhR3zFPhBFRBHiamv/GM2OT3Ah9Ik73Hw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID12mElCdpiUaKc9WiHLtBTUORB2wyiciRde27cI9JaVAiAZUNt+AHlccBN5f39DvS0S75nSA6M412DWbAjZl2k0HA=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"plasticpanda","email":"simone@plasticpanda.com"},"maintainers":[{"name":"plasticpanda","email":"simone@plasticpanda.com"}]},"0.1.9":{"name":"coolog","author":{"name":"Simone Lusenti","email":"simone@plasticpanda.com"},"version":"0.1.9","description":"Colorful logging in NodeJS.","homepage":"http://github.com/plasticpanda/coolog","keywords":["color","console","log","info","warn","error"],"main":"lib/clog","directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/plasticpanda/coolog.git"},"license":"MIT","dependencies":{"colors":"~0.6.0-1"},"_id":"coolog@0.1.9","dist":{"shasum":"f7b3d89c899785f41cdb5b42f7c3fd28e4323ad6","tarball":"https://registry.npmjs.org/coolog/-/coolog-0.1.9.tgz","integrity":"sha512-iQlxMjN9J39zA5xie7ydEfDSberTgJ6jormw9UPo6tuZ8kfoDNTyvr9kBEInyOfWl6C6ST4FNkMhw2OnvkvQcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC1m3Xz5q+AQahwZPZ+RAtM/lsNS43Pstd4QqAOEvBJZAiEAn5o+o2z3PDq5zogR2T9WM8LaJc3rgythvAB3QraA5jY="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"plasticpanda","email":"simone@plasticpanda.com"},"maintainers":[{"name":"plasticpanda","email":"simone@plasticpanda.com"}]},"0.2.0":{"name":"coolog","author":{"name":"Simone Lusenti","email":"simone@plasticpanda.com"},"version":"0.2.0","description":"Colorful logging in NodeJS.","homepage":"http://github.com/plasticpanda/coolog","keywords":["color","console","log","info","warn","error"],"main":"lib/clog","directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/plasticpanda/coolog.git"},"license":"MIT","dependencies":{"colors":"~0.6.0-1"},"_id":"coolog@0.2.0","dist":{"shasum":"d7b36e6d9904c18e66c2dafda71449d23f09f7bd","tarball":"https://registry.npmjs.org/coolog/-/coolog-0.2.0.tgz","integrity":"sha512-8eJycjGRMOE/185vk5lIb6l6Neei49qdEoKO0ZRV9wxTxoS0wBojoqBepxoQxfU6HoqOZWtV/bK3cRfA5rSSww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCY7+lNXmIQ7QbsSB4KDyqU2gVOglYtY1h5uWjYl0SYAQIgVDHq8FjJ+UwIZguFKqCXD8eKU9eSteNoqKI5VR49J60="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"plasticpanda","email":"simone@plasticpanda.com"},"maintainers":[{"name":"plasticpanda","email":"simone@plasticpanda.com"}]},"0.3.0":{"name":"coolog","author":{"name":"Simone Lusenti","email":"simone@plasticpanda.com"},"version":"0.3.0","description":"Colorful logging in NodeJS.","homepage":"http://github.com/plasticpanda/coolog","keywords":["color","console","log","info","warn","error"],"main":"lib/clog","directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/plasticpanda/coolog.git"},"license":"MIT","dependencies":{"colors":"~0.6.0-1"},"bugs":{"url":"https://github.com/plasticpanda/coolog/issues"},"_id":"coolog@0.3.0","dist":{"shasum":"4cae8d5b7a6ba9ada7174ce6056e2909781e33ca","tarball":"https://registry.npmjs.org/coolog/-/coolog-0.3.0.tgz","integrity":"sha512-uZqyjD5u1lJN6hDuX/lWEJETyypJPVHBHvW6GYqEZrdvzGoVuYg4UI41mD6LAu8NTHhh07POmbHB3ToJyL64lQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBXYCgQYyjZALCnP1nJU9h/p3lnCjbKjhUDEJJIzA9dxAiEAqSMEWb0L5Gf7IzDXdq4Tsnsz3nff5W2s76rB+IUoZD0="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"plasticpanda","email":"simone@plasticpanda.com"},"maintainers":[{"name":"plasticpanda","email":"simone@plasticpanda.com"}]},"2.1.2":{"name":"coolog","author":{"name":"Simone Lusenti","email":"simone@plasticpanda.com"},"contributors":[{"name":"Mauro Bolis","email":"mauro@plasticpanda.com"}],"version":"2.1.2","description":"Colorful logging in NodeJS.","homepage":"http://github.com/plasticpanda/coolog","keywords":["color","console","log","info","warn","error"],"main":"lib/clog","directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/plasticpanda/coolog.git"},"license":"MIT","dependencies":{"colors":"~0.6.0-1","seye.js":"~0.2.1","chalk":"~0.2.1"},"devDependencies":{"coolog-logentries-appender":"git+ssh://git@github.com:plasticpanda/coolog-logentries-appender.git"},"bugs":{"url":"https://github.com/plasticpanda/coolog/issues"},"_id":"coolog@2.1.2","dist":{"shasum":"bd382a8e6fc082f2985187b92aa055d64e0ec982","tarball":"https://registry.npmjs.org/coolog/-/coolog-2.1.2.tgz","integrity":"sha512-JB4IXlMYq+pwMt1SWttTW2rYzXLjnws6BxRMf4NA4rwNc1FyWvucC9+HjkkanH0rH6ZXutxDVI56tXVMOfbaDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAoc4HaQFCfrgYfzbpbkIzVxxeh5wfYsyNRRYhWBZVEiAiAzCWn7hmuQ/vxMCZvY8KJLbrlzaE/jrVqYeVzQiw6RMw=="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"plasticpanda","email":"simone@plasticpanda.com"},"maintainers":[{"name":"plasticpanda","email":"simone@plasticpanda.com"}]},"2.2.0":{"name":"coolog","author":{"name":"Simone Lusenti","email":"simone@plasticpanda.com"},"contributors":[{"name":"Mauro Bolis","email":"mauro@plasticpanda.com"}],"version":"2.2.0","description":"Colorful logging in NodeJS.","homepage":"http://github.com/plasticpanda/coolog","keywords":["color","console","log","info","warn","error"],"main":"lib/clog","directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/plasticpanda/coolog.git"},"license":"MIT","dependencies":{"colors":"~0.6.0-1","seye.js":"~0.2.1","chalk":"~0.2.1"},"devDependencies":{"coolog-logentries-appender":"git+ssh://git@github.com:plasticpanda/coolog-appender-logentries.git"},"bugs":{"url":"https://github.com/plasticpanda/coolog/issues"},"_id":"coolog@2.2.0","dist":{"shasum":"17c6236c63a545d06b37fd5ae786cae559b1a45e","tarball":"https://registry.npmjs.org/coolog/-/coolog-2.2.0.tgz","integrity":"sha512-GAcZ+vod5TP5K0qHdux8hXid3/ZTbI8Sf6hoKkblvFl1PDoqCt80wTG1Qb+Kex/hHitEn/W+RL1xGuS0jLxg7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5DzVVVQZISxcBqQDlF/UjFOpKHB8jJ+UTdpj5+nmEAwIgPU14+MSaVWByxiAo33ulDEap9BYoLKOveya2MMCdB44="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"plasticpanda","email":"simone@plasticpanda.com"},"maintainers":[{"name":"plasticpanda","email":"simone@plasticpanda.com"}]},"2.2.1":{"name":"coolog","author":{"name":"Simone Lusenti","email":"simone@plasticpanda.com"},"contributors":[{"name":"Mauro Bolis","email":"mauro@plasticpanda.com"}],"version":"2.2.1","description":"Colorful logging in NodeJS.","homepage":"http://github.com/plasticpanda/coolog","keywords":["color","console","log","info","warn","error"],"main":"lib/clog","directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/plasticpanda/coolog.git"},"license":"MIT","dependencies":{"colors":"~0.6.0-1","seye.js":"~0.2.1","chalk":"~0.2.1"},"devDependencies":{"coolog-logentries-appender":"git+ssh://git@github.com:plasticpanda/coolog-appender-logentries.git"},"bugs":{"url":"https://github.com/plasticpanda/coolog/issues"},"_id":"coolog@2.2.1","dist":{"shasum":"7b73f7d6fc09486af6126b2b7b27f68895385187","tarball":"https://registry.npmjs.org/coolog/-/coolog-2.2.1.tgz","integrity":"sha512-49XzeMYoRUDHXzoSRKN22rZjMJFD29meRh+PE+PFMatnkMiMY5VzKJcvxBOIszxfUJzW1GA+HYOM5+8OF9Er7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFbG9KkEozmqnF5iatIFHIi48YaLdJSa3hs+HozPbjA3AiAYf1rhXmiMPicmwnRdUEBQ3W5IfVteoQQE6Zz2vGbEMw=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"plasticpanda","email":"simone@plasticpanda.com"},"maintainers":[{"name":"plasticpanda","email":"simone@plasticpanda.com"}]},"3.0.0":{"name":"coolog","author":{"name":"Simone Lusenti","email":"simone@plasticpanda.com"},"contributors":[{"name":"Mauro Bolis","email":"mauro@plasticpanda.com"}],"version":"3.0.0","description":"Colorful logging in NodeJS.","homepage":"http://github.com/plasticpanda/coolog","keywords":["color","console","log","info","warn","error"],"main":"lib/clog","directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/plasticpanda/coolog.git"},"license":"MIT","dependencies":{"colors":"~0.6.0-1","seye.js":"~0.2.1","chalk":"~0.2.1"},"devDependencies":{"coolog-logentries-appender":"git+ssh://git@github.com:plasticpanda/coolog-appender-logentries.git"},"bugs":{"url":"https://github.com/plasticpanda/coolog/issues"},"_id":"coolog@3.0.0","dist":{"shasum":"0354a1753cc641e8a012701f3c2481b028f54faf","tarball":"https://registry.npmjs.org/coolog/-/coolog-3.0.0.tgz","integrity":"sha512-Ubtbcq+WmD8/8cx0m+lz4j0YOCkKFujT09DONiPnAoEWWMZ074rI4kUQYm6USpdJJoV1D/QH9fYa2z74I0R/Nw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgG9ajWcMaoatL9gszvOUBzR+v3YeVE7u/m+CLEDuNHwIhAOpJxUa4pk2ejm9Vi/TXfGg1gr88+ZFjnefndTkxEoUQ"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"plasticpanda","email":"simone@plasticpanda.com"},"maintainers":[{"name":"plasticpanda","email":"simone@plasticpanda.com"}]}},"readme":"Coolog\n======\n\nColourful logging in node.js\n\nThis version is a rework of the original library with two new main features:\n\n*  Mechanism to create custom appenders (file, console, online services..) using NPM. There are some built-in appenders too\n*  Filter message to log (based on the log level)\n\n\n\n## Install ##\n\n```bash\nnpm install coolog\n```\n\n\n## Use ##\n\n```js\nvar coolog = require('../index.js');\n\ncoolog.addChannel({ \n  name: 'root',\n  level: 'debug', \n  appenders: [\n    'console'\n  ] \n});\n\nvar logger = coolog.logger('main.js', 'root'); //root is optional\n\nlogger.log('Message or obj', ...);\nlogger.error('Message or obj', ...);\nlogger.warn('Message or obj', ...);\nlogger.info('Message or obj', ...);\nlogger.debug('Message or obj', ...);\nlogger.ok('Message or obj', ...);\n```\n\n\n## Settings ##\nSee test/test.js file for more info.\n\n\n## API ##\n\n```\ncoolog.addChannel({...});\n```\nAdd a new channel to coolog. You can specify the name, the level of the channel (debug, warn...) and \nthe appenders to use.\n\n```\ncoolog.logger(filename, channel);\n```\nThis method create a new logger.\n\n* filename is the name of the file (used in the log message)\n* Channel is optional. If you don't specify this parameter coolog assign this logger to the default channel (root).\n  \n\n## CUSTOM APPENDERS ##\nDevelopers can create custom appenders.\n\nIn coolog an appender is just a module that exports a function\n\n```js\nmodule.exports = function (settings) {\n  \n}\n```\n\n```settings``` is a variable which contains the options specified by the user in the coolog.json file.\n\nThe function should export an object with a ```log``` method. \n\nThe method should has this sign\n```js\nfunction (level_name, channel_name, filename, args)\n```\n\n* level_name is the level of the message (debug, log, info, warn, error, ok)\n* channel_name is the name of the channel\n* filename is the name of the file in which the function has been invoked\n* args is the array of the arguments passed by the user\n\n\n\n\n## APPENDER LIST ##\n[Logentries appender](https://github.com/plasticpanda/coolog-logentries-appender)\n\n\n\n## License ##\n\nCopyright (c) 2013 PlasticPanda.com, Mauro Bolis <mauro@plasticpanda.com>, Simone Lusenti <simone@plasticpanda.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WIT\n","maintainers":[{"email":"plasticpanda@protonmail.com","name":"maliciousintent"}],"time":{"modified":"2022-06-13T23:08:59.611Z","created":"2013-07-01T15:02:34.099Z","0.1.5":"2013-07-01T15:02:37.329Z","0.1.6":"2013-07-01T15:03:24.635Z","0.1.7":"2013-07-03T09:49:58.034Z","0.1.8":"2013-07-03T09:53:53.640Z","0.1.9":"2013-07-03T10:27:18.145Z","0.2.0":"2013-07-04T08:08:55.604Z","0.3.0":"2013-07-09T14:22:21.523Z","2.1.2":"2013-09-03T10:23:48.640Z","2.2.0":"2013-11-05T16:55:34.424Z","2.2.1":"2013-11-05T17:11:41.499Z","3.0.0":"2013-11-13T15:04:57.785Z"},"author":{"name":"Simone Lusenti","email":"simone@plasticpanda.com"},"repository":{"type":"git","url":"git://github.com/plasticpanda/coolog.git"},"homepage":"http://github.com/plasticpanda/coolog","keywords":["color","console","log","info","warn","error"],"contributors":[{"name":"Mauro Bolis","email":"mauro@plasticpanda.com"}],"bugs":{"url":"https://github.com/plasticpanda/coolog/issues"},"license":"MIT","readmeFilename":"README.md"}