{"_id":"@ashwindmk/nodelog","_rev":"1-d11c00d26b79006a2acbdf223ed78fbb","name":"@ashwindmk/nodelog","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@ashwindmk/nodelog","version":"0.0.1","description":"Node JS Logger","main":"nodelog.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ashwindmk/nodejs_nodelog.git"},"keywords":["node","js","log","logging"],"author":{"name":"Ashwin Dinesh"},"license":"ISC","bugs":{"url":"https://github.com/ashwindmk/nodejs_nodelog/issues"},"homepage":"https://github.com/ashwindmk/nodejs_nodelog","gitHead":"f021a6a2ab8749fa4e16e23ae30e9c8d51d0ab8d","_id":"@ashwindmk/nodelog@0.0.1","_nodeVersion":"13.1.0","_npmVersion":"6.13.0","dist":{"integrity":"sha512-+HOzPrjglSmPAtDMeioK+Ponrllvaqjlts4Pu4m+vn/CTQ0PM40DCwzTJeqYxhT5BOJ89nTnZN064t8nSQAzlw==","shasum":"d0261a69af0d5c0caae8152369a8f555ad9230ca","tarball":"https://registry.npmjs.org/@ashwindmk/nodelog/-/nodelog-0.0.1.tgz","fileCount":3,"unpackedSize":2656,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy4DMCRA9TVsSAnZWagAAjf8P/1C85G+Ravexwqr+Bwkx\nvJ33d6So9yuLgmBb30/meVzPoLKGM1iJm7ANz7ZirckVI/aY0/ZEir+JAdEe\n2eGIgxB868PlLdiJIGm8eLHOZpHo/J77c9pqRX8sTcUKUgIN5pyh1r4Fy/nF\n1G9mntHl69PeTp17dgjM9+F+8JVeOkukvVOQ2HGUc3AJPFH3yPHTd2NMIOgM\ngFhQune66P1YoelU4H3XNoXqaHRfSGQgZZyzeFM17c7uuRNAgGIuHaAsJ1m3\n1X5qYtGFcJn2moNTmlUqGkYQd+pXjzot8nbQ/CZRYkC2E38WSFL0IX/0unNk\nxky42S05cIWEjZHsjrMsFGUMgdmEf0jzDBipGYBqPo5CjOFqTuMc7UKYvODv\nUGmFvqRs3EUQ+1ztvhTLFG/r1fjpjRbuHUsxluBTjvcxYpG1c84I+iXgScy4\nD87OC2KLNHpaGHbM7y1x49TpfsPg9EIn3tKMuT4w/epd++nVjihb/rnAoP7S\n+OYCLQHPTwxb0CcVel3N7rispcZPP8X7G1ezf8z4PsrQ4V6jWewZQdqad7Tj\nbtWqHXqWgOi/oPHCtkCkph0Yh6tx5wW6JTzldDb0IjYyf/4QtLw/6Y/Z/uYm\nNUp0D8FjTB0Wnu3joV9vqN8FrD5KWEDXIxLo389sEyA8WSuOq1sN1VmPvj0E\njojw\r\n=8vSf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICwue+1K9W8wBECBGs7kWy19nvIUDQwtpHIR6YtXv4sLAiBOMnaIeXbkPRNrc6tSRBJ79k8mjZn6aINWFh+EZBfs/A=="}]},"maintainers":[{"name":"ashwindmk","email":"ashwin.dinesh01@gmail.com"}],"_npmUser":{"name":"ashwindmk","email":"ashwin.dinesh01@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodelog_0.0.1_1573617867607_0.4283223527981612"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-13T04:04:27.399Z","0.0.1":"2019-11-13T04:04:27.754Z","modified":"2022-04-04T15:46:04.675Z"},"maintainers":[{"name":"ashwindmk","email":"ashwin.dinesh01@gmail.com"}],"description":"Node JS Logger","homepage":"https://github.com/ashwindmk/nodejs_nodelog","keywords":["node","js","log","logging"],"repository":{"type":"git","url":"git+https://github.com/ashwindmk/nodejs_nodelog.git"},"author":{"name":"Ashwin Dinesh"},"bugs":{"url":"https://github.com/ashwindmk/nodejs_nodelog/issues"},"license":"ISC","readme":"# NodeLog\r\n\r\nSimple logging module for Node JS.\r\n\r\n\r\n## Installation\r\n\r\n```shell\r\nnpm install @ashwindmk/nodelog\r\n```\r\n\r\n\r\n## Configuration\r\n\r\n```\r\n-1 : Disable all logging\r\n0 : Only Error logs\r\n1 : Error and Debug logs\r\n2 : Error, Debug and Info logs\r\n3 : Enable all logs\r\n```\r\n\r\n\r\n## Usage\r\n\r\n```javascript\r\nconst nodelog = require(\"./nodelog\");\r\n\r\n// Set log level\r\nnodelog.setLevel(1);\r\n\r\n// Log messages\r\nnodelog.debug('This is a simple debug log.');\r\n```\r\n\r\n\r\n## Contributing\r\n\r\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.\r\n","readmeFilename":"README.md"}