{"_id":"nebulog","_rev":"6-ff5474307cd7442739dcd854560adc6b","name":"nebulog","description":"A enhancement/wrapper around the wonderful Winston logger.","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.0":{"name":"nebulog","description":"A enhancement/wrapper around the wonderful Winston logger.","version":"0.0.0","repository":{"type":"git","url":"git://github.com/AntPortal/nebulog.git"},"author":{"name":"Nebu Pookins","email":"nebupookins@gmail.com"},"directories":{"lib":"."},"engines":{"node":"*"},"main":"nebulog.js","dependencies":{"winston":"0.2.7"},"homepage":"https://github.com/AntPortal/nebulog","_id":"nebulog@0.0.0","_engineSupported":true,"_npmVersion":"1.0.1rc1","_nodeVersion":"v0.4.6","_defaultsLoaded":true,"dist":{"shasum":"ce1804a10f3f8f44a0e9f6500d968f064efd8633","tarball":"https://registry.npmjs.org/nebulog/-/nebulog-0.0.0.tgz","integrity":"sha512-R6FpeUKfiecrSNG18XVgGIhERdrHbHjCugABAu5N/k4vUzmBfzf0q7avgP8VqaQ8tmwbFtORbIwQzKCN1qKNjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBwpYNyqJN5cwJeGGNYGGKMM1XTpocjODVAxZf9DmGrhAiB9Y6Dj7W2hSTvsTbPrLOZdF5bn/O5ZLzXTX8//jauYVg=="}]}},"0.2.1":{"name":"nebulog","description":"A enhancement/wrapper around the wonderful Winston logger.","version":"0.2.1","repository":{"type":"git","url":"git://github.com/AntPortal/nebulog.git"},"author":{"name":"Nebu Pookins","email":"nebupookins@gmail.com"},"directories":{"lib":"."},"engines":{"node":"*"},"main":"nebulog.js","dependencies":{"winston":"2.1.1"},"homepage":"https://github.com/AntPortal/nebulog","gitHead":"379d6d2059b06d034449e95b89045e80c64a1d74","bugs":{"url":"https://github.com/AntPortal/nebulog/issues"},"_id":"nebulog@0.2.1","scripts":{},"_shasum":"f910a09179c10a5c9b854e15ec88bbe1262cfe68","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"nebu","email":"nebupookins@gmail.com"},"dist":{"shasum":"f910a09179c10a5c9b854e15ec88bbe1262cfe68","tarball":"https://registry.npmjs.org/nebulog/-/nebulog-0.2.1.tgz","integrity":"sha512-taNRqcPW6W7pOHyOJQsBFquKP6cVGGjMZgFzxo7IAlkOuBnMLRolxudaBXLrA8whVh+ObIFdEv8sBZOTiQEDkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtw8XKm0rqx1QvWHDsKwSvcwvCJY0UZ2z4uq1QcLtwWAiAk5zV/nb9twkJCMOI71oclvxgslPu6HP0hPFJZZ5AhEg=="}]},"maintainers":[{"name":"nebu","email":"nebupookins@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/nebulog-0.2.1.tgz_1454896958817_0.7652575511019677"}}},"maintainers":[{"name":"nebu","email":"nebupookins@gmail.com"}],"time":{"modified":"2022-06-20T23:34:09.463Z","created":"2011-04-20T15:36:57.032Z","0.0.0":"2011-04-20T15:36:57.204Z","0.2.1":"2016-02-08T02:02:41.066Z"},"author":{"name":"Nebu Pookins","email":"nebupookins@gmail.com"},"repository":{"type":"git","url":"git://github.com/AntPortal/nebulog.git"},"readme":"# nebulog\n\nA enhancement/wrapper around the wonderful Winston logger.\n\n## Installation\n\n### Installing npm (node package manager)\n<pre>\n  curl http://npmjs.org/install.sh | sh\n</pre>\n\n### Installing nebulog\n<pre>\n  [sudo] npm install nebulog\n</pre>\n\n## Motivation\n\n[Winston](https://github.com/indexzero/winston) is a great logger, but there\nwere a few minor issues about it that I didn't like, or features I wish it had.\nThe enhancements over a vanilla implementation of Winston are:\n\n* Outputting the filename of the file from which the logging message came from.\n* Aligning the logging message by adding padding after the severity level.\n* Use a more JSON-like syntax when printing the metadata object.\n* Allow arbitrarily many metadata objects to be logged, rather than just one.\n\n## Example usage:\n\n### Basic Usage\n<pre>\n  var logger = require('nebulog').make({filename: __filename});\n\n  logger.log('info', 'Logger is working');\n  logger.info('This also works');\n</pre>\n\n### Setting minimum log level\n\n<pre>\n  var logger = require('nebulog').make({filename: __filename, level: 'warn'});\n\n  logger.warn('This will be visible.');\n  logger.info(\"But this won't\");\n</pre>\n\nThe log available log levels, from least serious to most serious, are:\n\n['silly', 'verbose', 'info', 'warn', 'debug', 'error'];\n\n### Logger per function\n\n<pre>\n  var loggerA = require('nebulog').make({filename: __filename + ':A'});\n  var loggerB = require('nebulog').make({filename: __filename + ':B'});\n\n  function A() {\n    loggerA.info('This log message will be marked as coming from A');\n  }\n\n  function B() {\n    loggerB.info('But this log message will be marked as coming from B');\n  }\n</pre>\n\n","homepage":"https://github.com/AntPortal/nebulog","bugs":{"url":"https://github.com/AntPortal/nebulog/issues"},"readmeFilename":"README.md"}