{"_id":"@ajayos/nodelogger","_rev":"7-de11d021709858a3ef1e489825122830","name":"@ajayos/nodelogger","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.1":{"name":"@ajayos/nodelogger","version":"1.0.1","keywords":["nodelogger","node","js","ajay","logger","log"],"author":{"name":"Ajay o s"},"license":"Apache-2.0","_id":"@ajayos/nodelogger@1.0.1","maintainers":[{"name":"ajayos","email":"ajayosakhub@gmail.com"}],"homepage":"https://github.com/Ajayos/nodelogger#readme","bugs":{"url":"https://github.com/Ajayos/nodelogger/issues"},"dist":{"shasum":"b4248e5725835c1fda1611a19566bba757863946","tarball":"https://registry.npmjs.org/@ajayos/nodelogger/-/nodelogger-1.0.1.tgz","fileCount":4,"integrity":"sha512-Bx6Uzwj6MeIbE6QMEURJDtyIp4JL/CFY7V2wMYj/abp7+IC3jgH6elwZdjTAnuEC0XeHO6jjfkvPoxZkVbNGqA==","signatures":[{"sig":"MEUCIQDUGI4JzakSrnxCFvPbEZnx2MK8z8t+DWz0SGXKt5eCqQIgS1MkiPDYMf8ptMbK3fOgZY3ahM8GL01a9Yr7Xu5cwNM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQ2QXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPfBAAjVd9XKmGJjJCyP5WoltQEsIl2NSK+UGG7VuLPRuugQgM0GDx\r\nZog6dyuVRZtBj0lUUyNCz+N/0N8m6jyPWj7TnHgaTzHyuGfX3uC5kOur9heO\r\nNxyM8fRG0pAX1AZYAYLDcQuh60mtB4m3hCAcVUvOJm2n6JXwrzM1u96nCOJp\r\n4AcIaSmxxjYRGm3I5v93N6w9tguuxlG2suW7q+L8+icqXU7Gc6pymoLXfzuo\r\nMKByOpHhYQ01pxVHht0fFrlROQaq+q8kQ/wVe3s8UymBB3+cw/sa9xhug15r\r\nDOi7q8y+581nPq+5fyqSakEuDWRsAyHC9hXBGPC/h7GIMYpHaK+BCclURYth\r\nQF/wtQp7eIrXt6QmbnF3AlyW0pd8AHhEeEiLSddoy5VVP7X0lRIiC+ZJgpjm\r\ndS6RosgG8eFJlBuJfl1xTnqChnFTry0eWlY9DNNP+2bpVTKRfp9ijuE93vpB\r\n1MNQFz03tgCrBUgDAFEM7Ge18F8/w081/luF8lMk1NCiKJ2VcZ3wxFHJ0IZB\r\n4CIFh4Mn/pmZMTZgJhWyFC0MVNZBuO6i+Nr1582lO2sS/jYp81G0boYiayFV\r\nuMX2KSHwkG7iWUoPJvdXcpj0HVqwQRqrq+/mzoynJjtLLHd99wHqouNA+PY6\r\nd0fzkCaoXi0JhrZb/snkcFZ+KSOf41fSKHA=\r\n=eyxY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a96074bf2e73b32c0648aa0c8cea2566389e59c6","_npmUser":{"name":"ajayos","email":"ajayosakhub@gmail.com"},"repository":{"url":"git+https://github.com/Ajayos/nodelogger.git","type":"git"},"_npmVersion":"9.5.1","description":"This is a logging module that allows the user to log messages with different severity levels. The module uses the Winston logging library and allows the user to configure various options for the log files.","directories":{},"_nodeVersion":"19.8.1","dependencies":{"color":"^4.2.3","colors":"^1.4.0","winston":"^3.8.2","winston-daily-rotate-file":"^4.7.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nodelogger_1.0.1_1682138135681_0.7956118653662629","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@ajayos/nodelogger","version":"1.0.2","keywords":["nodelogger","node","js","ajay","logger","log"],"author":{"name":"Ajay o s"},"license":"Apache-2.0","_id":"@ajayos/nodelogger@1.0.2","maintainers":[{"name":"ajayos","email":"ajayosakhub@gmail.com"}],"homepage":"https://github.com/Ajayos/nodelogger#readme","bugs":{"url":"https://github.com/Ajayos/nodelogger/issues"},"dist":{"shasum":"5716e92ca795b1cbb6a2ae629433650eeb0890a3","tarball":"https://registry.npmjs.org/@ajayos/nodelogger/-/nodelogger-1.0.2.tgz","fileCount":4,"integrity":"sha512-yb6/7pZd+/mrleZ5axUI5J18EMC7JogatXr5r75612WRJpB8696P8i9dhemGAbjxvcETYaRFPd5PBbKsTUwoHg==","signatures":[{"sig":"MEQCIAr0ndoOWO8lgQbBsBYSWMRb+5Nvm9wq4/ytfkMsz3MOAiAFBuomDVvO2KRsyHPtEOQGKuqYRDK5pLCQU/RDpExHjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQ2aXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSbw//cgo3egqyIzM9j5fzrnzis3HtOeEQ3243JDQRO/46idx5hKRV\r\nTcqCsSgB6dmQme8pV0JAQws91V7fi09+ONHmWLsWDmxrOLaBDm8q83+zkbxt\r\n7RhsiFdkiG+xmYZiiQJb/5s14wCywaUXOaY94GVf09YJKLROxqE7UB23futG\r\nxdtblgWEVHOsApL9/XBIjK5v4dw1hWVaAy5oCmaiKHWfabQYVIv7j3rNP0sp\r\nCaSi1Zi82EvNQQ+L1tbDMsxIfxPn6w7datLFnI/Unlckx8d13RDPFjAUwEdW\r\nE5aK0kpnz/5QEf+tQAjyn9UskQD6Q4/kCWVK9AqFf4R+YXCTgOxmqZKWTGY+\r\nTE2F5tXjFcRZZlXF01GMUxCS+t2tVVX2vgotDZNHlDYVokhmfN0tHExZCZLk\r\nt/9pJCp1Fd3BBfvEpNYG98WXW5PPmi26IpyKRPSzHW18LBZRmA1MFUI0l/Ym\r\ngMbwcNwuhnEDcel2a0b5cC7079r9f32RBoxHetNGX02e9KA/hxz/G0lLLXM5\r\n7JR8orfC3/n0fJM+mrDF93aA051MQOh4q2FvS0N8oTdKEZnwRQ7Noczk9C5Q\r\nXCQNVyt/+DTiVJSfryGsu8VDCH2J4xmsWT9duB7BG1S8xhQ+PMkpsTjOvrXX\r\n+/zkUeOvdcrWZF4iFNQ3iW5A1srJapm0DR4=\r\n=f9UA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a96074bf2e73b32c0648aa0c8cea2566389e59c6","_npmUser":{"name":"ajayos","email":"ajayosakhub@gmail.com"},"repository":{"url":"git+https://github.com/Ajayos/nodelogger.git","type":"git"},"_npmVersion":"9.5.1","description":"This is a logging module that allows the user to log messages with different severity levels. The module uses the Winston logging library and allows the user to configure various options for the log files.","directories":{},"_nodeVersion":"19.8.1","dependencies":{"color":"^4.2.3","colors":"^1.4.0","winston":"^3.8.2","winston-daily-rotate-file":"^4.7.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nodelogger_1.0.2_1682138775371_0.41146013892914723","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@ajayos/nodelogger","version":"1.0.3","keywords":["nodelogger","node","js","ajay","logger","log"],"author":{"name":"Ajay o s"},"license":"Apache-2.0","_id":"@ajayos/nodelogger@1.0.3","maintainers":[{"name":"ajayos","email":"ajayosakhub@gmail.com"}],"homepage":"https://github.com/Ajayos/nodelogger#readme","bugs":{"url":"https://github.com/Ajayos/nodelogger/issues"},"dist":{"shasum":"aa196345accee6b4273c7c70169d9a6a85157015","tarball":"https://registry.npmjs.org/@ajayos/nodelogger/-/nodelogger-1.0.3.tgz","fileCount":4,"integrity":"sha512-P+iwKWrYA4NG1Gr/v+jb9Iq2Wia7C4IPDGWbPzT7477TXDIlGS22y7UAtgf7onfMA73mZl7zu7nJkRs9PmZbkg==","signatures":[{"sig":"MEUCIQDOq5FjjPttX/v5ru9lxiZT/pIBFcYA3w1oGmevRa41FQIgMk85bEDLdddwrxRrbvLEJcJJNvJn6aWhzdcf2x17dKg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23742,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTlp0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0Dg//RvPeUjVdoTYzu5PcOR7/Ohu3rK9EZqmh660o49AHwIWf9HpX\r\ngu2kWaIMbjpAAsdSwhE41ugEoZAz8k42YUDiPugVNZsYDO/Rka67O0wDbzoP\r\ncLo+mgdZbZvuaPufa+sH5IcaHEvXcMh5ptIiGz4oPqsAAtC30G8+xqBtWMj2\r\n/LPyq94fms/nTIjV6KyJu/jmr9YZvgcW7N79ka5y9EH/srEQy+2cvaIZlAum\r\nNyDzzwSs7XWP0WCD6uSx9xv5BCuyHFJyBYlvY7D31DEbu8VbSaVJ/GtODUHB\r\nxWTUJKJ+0vrTOXWhqBfZxNv1LOFqcqW+wC3COc9KSILlp4MoQMuRqtWQel17\r\npukQf/0rdtaVGunckh+2P32b1HG19a7GyKA+bxw2juo6EOU0STbxEWRU6NhJ\r\n9Hjw9RMRCC0Mm8xS53KqrkYinPseHzynZkRFU9YutE9WH/rr4oObXva/CmqM\r\n7pMxIQiYT1zbs43vP8a+PsY/i3r+TsEO3V7VXcap50dVnLFZ04e9MaPJTNVV\r\nSpx41et/6EUnKZNFdysRHyBLWVOd1dO0NKVyKHsXmsYkZIBQqvUrYSoc2dd/\r\nP7VI92lvp20cDYoTYbSCYcNxngmF+Qes6ZckX9hANJ1FhpYGLhslJaM9sHKV\r\nTI2qnouFmA9ldWiys+pTgqsPDCzgiKb/gcE=\r\n=tF4/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c524243c6e1c228a2fb341cd47b89dc63129c62b","_npmUser":{"name":"ajayos","email":"ajayosakhub@gmail.com"},"repository":{"url":"git+https://github.com/Ajayos/nodelogger.git","type":"git"},"_npmVersion":"9.3.0","description":"This is a logging module that allows the user to log messages with different severity levels. The module uses the Winston logging library and allows the user to configure various options for the log files.","directories":{},"_nodeVersion":"19.4.0","dependencies":{"color":"^4.2.3","colors":"^1.4.0","winston":"^3.8.2","winston-daily-rotate-file":"^4.7.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nodelogger_1.0.3_1682856564743_0.716560579990573","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@ajayos/nodelogger","version":"1.0.4","keywords":["nodelogger","node","js","ajay","logger","log"],"author":{"name":"Ajay o s"},"license":"Apache-2.0","_id":"@ajayos/nodelogger@1.0.4","maintainers":[{"name":"ajayos","email":"ajayosakhub@gmail.com"}],"homepage":"https://github.com/Ajayos/nodelogger#readme","bugs":{"url":"https://github.com/Ajayos/nodelogger/issues"},"dist":{"shasum":"55cde1be44dacca62ad61443868d2bbd94e813f5","tarball":"https://registry.npmjs.org/@ajayos/nodelogger/-/nodelogger-1.0.4.tgz","fileCount":6,"integrity":"sha512-u8Srb+gO65DYQ06hpgeuefhAXv4OvfZBLCvPLiYzO0LsdfSIfhP9p5geNxvSmhwI6jTSEKS48L6ysqu6MU9uKg==","signatures":[{"sig":"MEQCIE2UeqGRtgDvkfeMSQu7twduU4crJtN2CAWHaqudgADOAiAKBev/DnPzd5XHCNEyuC+T1bwAW6vhelE0SNRYB2nxyg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24595},"main":"index.js","gitHead":"f54e5efbc0c66fa7c61f7bd457042b9ec8595de3","scripts":{"test":"node test.js"},"_npmUser":{"name":"ajayos","email":"ajayosakhub@gmail.com"},"repository":{"url":"git+https://github.com/Ajayos/nodelogger.git","type":"git"},"_npmVersion":"9.5.1","description":"This is a logging module that allows the user to log messages with different severity levels. The module uses the Winston logging library and allows the user to configure various options for the log files.","directories":{},"_nodeVersion":"18.16.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","util":"^0.12.5","color":"^4.2.3","colors":"^1.4.0","crypto":"^1.0.1","moment":"^2.29.4","sqlite3":"^5.1.6","winston":"^3.8.2","winston-daily-rotate-file":"^4.7.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nodelogger_1.0.4_1686125713194_0.21783785593938343","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@ajayos/nodelogger","version":"1.0.5","keywords":["nodelogger","node","js","ajay","logger","log"],"author":{"name":"Ajay o s"},"license":"Apache-2.0","_id":"@ajayos/nodelogger@1.0.5","maintainers":[{"name":"ajayos","email":"ajayosakhub@gmail.com"}],"homepage":"https://github.com/Ajayos/nodelogger#readme","bugs":{"url":"https://github.com/Ajayos/nodelogger/issues"},"dist":{"shasum":"589b6a181937190566a9d88ed570b0fe7af34d8a","tarball":"https://registry.npmjs.org/@ajayos/nodelogger/-/nodelogger-1.0.5.tgz","fileCount":6,"integrity":"sha512-X00MIwz5ucAUxKueUxIUj6w9BhgSXYDCOpRHTy7UwhMhYFjWKJ6bAb+ZJW9SC/UBKxx/+V78qFkgleDNqKCA1g==","signatures":[{"sig":"MEYCIQD3qeKSBAuNvT3T3A6giboY/GHGQazikiLv/NsMs4i+5AIhANnV+OFhmlk1dOo0OVBTGQ9xO6FUHGos9qK3ag+yKihC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24537},"main":"index.js","gitHead":"f54e5efbc0c66fa7c61f7bd457042b9ec8595de3","scripts":{"test":"node test.js"},"_npmUser":{"name":"ajayos","email":"ajayosakhub@gmail.com"},"repository":{"url":"git+https://github.com/Ajayos/nodelogger.git","type":"git"},"_npmVersion":"9.5.1","description":"This is a logging module that allows the user to log messages with different severity levels. The module uses the Winston logging library and allows the user to configure various options for the log files.","directories":{},"_nodeVersion":"18.16.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","color":"^4.2.3","colors":"^1.4.0","crypto":"^1.0.1","moment":"^2.29.4","winston":"^3.8.2","winston-daily-rotate-file":"^4.7.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nodelogger_1.0.5_1686125845752_0.025347765365189234","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@ajayos/nodelogger","version":"1.0.6","keywords":["nodelogger","node","js","ajay","logger","log"],"author":{"name":"Ajay o s"},"license":"Apache-2.0","_id":"@ajayos/nodelogger@1.0.6","maintainers":[{"name":"ajayos","email":"ajayosakhub@gmail.com"}],"homepage":"https://github.com/Ajayos/nodelogger#readme","bugs":{"url":"https://github.com/Ajayos/nodelogger/issues"},"dist":{"shasum":"f10df906134849107dec9400440e3ef59f3523fa","tarball":"https://registry.npmjs.org/@ajayos/nodelogger/-/nodelogger-1.0.6.tgz","fileCount":5,"integrity":"sha512-tZNj9r3jzbTOdbimuDbLRjI/uHpO+wOutTsSB7KTgHH3J0DroZIHrTjOrdB2XGvDtzUc7+EbXqL577YyJWIU0Q==","signatures":[{"sig":"MEQCIApzWsYHB6RsDrjd0toy5Hzem+94CuXW8hSrfxERzOQOAiARA2ecwNUW/wnGgB3dNTu2yCPJjpwj+CPN7maGYGNOCw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24465},"main":"index.js","gitHead":"f54e5efbc0c66fa7c61f7bd457042b9ec8595de3","scripts":{"test":"node test.js"},"_npmUser":{"name":"ajayos","email":"ajayosakhub@gmail.com"},"repository":{"url":"git+https://github.com/Ajayos/nodelogger.git","type":"git"},"_npmVersion":"9.5.1","description":"This is a logging module that allows the user to log messages with different severity levels. The module uses the Winston logging library and allows the user to configure various options for the log files.","directories":{},"_nodeVersion":"18.16.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","color":"^4.2.3","colors":"^1.4.0","crypto":"^1.0.1","moment":"^2.29.4","winston":"^3.8.2","winston-daily-rotate-file":"^4.7.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nodelogger_1.0.6_1686125865902_0.20997800195283522","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@ajayos/nodelogger","version":"1.0.8","keywords":["nodelogger","node","js","ajay","logger","log"],"author":{"name":"Ajay o s"},"license":"Apache-2.0","_id":"@ajayos/nodelogger@1.0.8","maintainers":[{"name":"ajayos","email":"ajayosakhub@gmail.com"}],"homepage":"https://github.com/Ajayos/nodelogger#readme","bugs":{"url":"https://github.com/Ajayos/nodelogger/issues"},"dist":{"shasum":"12fbcefe5dcefffd3527335820521a3092c91f97","tarball":"https://registry.npmjs.org/@ajayos/nodelogger/-/nodelogger-1.0.8.tgz","fileCount":8,"integrity":"sha512-h7M+XGX8VXPfqTs523Vxk0ZRV6n8lDdRd4PXKGXWwGhokILnNLx8eY0qxuyaoSOrGPkuqL5+EL8sq9LKjzNhHQ==","signatures":[{"sig":"MEUCIGW75tN1OxOzZx7fgqhRFbuGYbRprVeWUISoGsYuWXjZAiEAqlAGTC3ZL8eBflP/H0XnPsM6gdVhjUzKx1oYKoI6RqM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86720},"main":"index.js","gitHead":"6331102feb09766f96a8adddb1227254bd8753ae","scripts":{"test":"node example.js"},"_npmUser":{"name":"ajayos","email":"ajayosakhub@gmail.com"},"repository":{"url":"git+https://github.com/Ajayos/nodelogger.git","type":"git"},"_npmVersion":"9.6.7","description":"This is a logging module that allows the user to log messages with different severity levels. The module uses the Winston logging library and allows the user to configure various options for the log files.","directories":{},"_nodeVersion":"18.17.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","color":"^4.2.3","colors":"^1.4.0","crypto":"^1.0.1","moment":"^2.29.4","winston":"^3.8.2","winston-daily-rotate-file":"^4.7.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nodelogger_1.0.8_1690749547834_0.11805505532528349","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@ajayos/nodelogger","version":"1.0.9","description":"This is a logging module that allows the user to log messages with different severity levels. The module uses the Winston logging library and allows the user to configure various options for the log files.","main":"index.js","scripts":{"test":"node example.js"},"repository":{"type":"git","url":"git+https://github.com/Ajayos/nodelogger.git"},"keywords":["nodelogger","node","js","ajay","logger","log"],"author":{"name":"Ajay o s"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Ajayos/nodelogger/issues"},"homepage":"https://github.com/Ajayos/nodelogger#readme","dependencies":{"@ajayos/nodelogger":"file:","color":"^4.2.3","colors":"^1.4.0","crypto":"^1.0.1","fs":"^0.0.1-security","moment":"^2.29.4","path":"^0.12.7","winston":"^3.8.2","winston-daily-rotate-file":"^4.7.1"},"devDependencies":{"@types/node":"^22.4.1"},"types":"./index.d.ts","gitHead":"6331102feb09766f96a8adddb1227254bd8753ae","_id":"@ajayos/nodelogger@1.0.9","_nodeVersion":"16.0.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-udiNq1UjLcq70t2HqS7DNT4Wnjq3S2mTB/fYLbECImjI3JSxUYHd45YmzuDQjRAtHZtRS3iyPVuOj8jjoCUFWg==","shasum":"b12c29615fb37a9b40925a4e0b135249efe2c026","tarball":"https://registry.npmjs.org/@ajayos/nodelogger/-/nodelogger-1.0.9.tgz","fileCount":10,"unpackedSize":40236,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFROaAG2xmwdZzyrNC03eFJJQO7SneXkdEAM/FlePSNRAiApsk2jeUeB+ALV9sURgpNPlNYvKNY+t5Q/Ne51KwcCOA=="}]},"_npmUser":{"name":"ajayos","email":"ajayosakhub@gmail.com"},"directories":{},"maintainers":[{"name":"ajayos","email":"ajayosakhub@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodelogger_1.0.9_1724127754433_0.48843781404303965"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-22T04:35:35.579Z","modified":"2024-08-20T04:22:34.755Z","1.0.1":"2023-04-22T04:35:35.855Z","1.0.2":"2023-04-22T04:46:15.534Z","1.0.3":"2023-04-30T12:09:24.901Z","1.0.4":"2023-06-07T08:15:13.372Z","1.0.5":"2023-06-07T08:17:25.901Z","1.0.6":"2023-06-07T08:17:46.077Z","1.0.8":"2023-07-30T20:39:08.076Z","1.0.9":"2024-08-20T04:22:34.596Z"},"bugs":{"url":"https://github.com/Ajayos/nodelogger/issues"},"author":{"name":"Ajay o s"},"license":"Apache-2.0","homepage":"https://github.com/Ajayos/nodelogger#readme","keywords":["nodelogger","node","js","ajay","logger","log"],"repository":{"type":"git","url":"git+https://github.com/Ajayos/nodelogger.git"},"description":"This is a logging module that allows the user to log messages with different severity levels. The module uses the Winston logging library and allows the user to configure various options for the log files.","maintainers":[{"name":"ajayos","email":"ajayosakhub@gmail.com"}],"readme":"# nodelogger\r\n\r\n`@ajayos/nodelogger` is a Node.js module for logging messages with customizable severity levels and output formats.\r\n\r\n[![@ajayos/nodelogger](https://img.shields.io/npm/v/@ajayos/nodelogger.svg)](https://www.npmjs.com/package/@ajayos/nodelogger)\r\n\r\n## Installation\r\n\r\nTo install `@ajayos/nodelogger`, run:\r\n\r\n```shell\r\nnpm install @ajayos/nodelogger\r\n```\r\n\r\n## Usage\r\n\r\nFirst, import the module into your Node.js application:\r\n\r\n```js\r\nconst { default: Logger } = require(\"@ajayos/nodelogger\");\r\n```\r\n\r\nThen, create an instance of the `Logger` class with the desired configuration options and start it:\r\n\r\n```js\r\nconst options = {\r\n  timeZone: \"Asia/Kolkata\",\r\n  hour: \"numeric\",\r\n  minute: \"numeric\",\r\n  hour12: true,\r\n  filename: \"logs/%DATE%.log\",\r\n  datePattern: \"YYYY-MM/DD\",\r\n  zippedArchive: false,\r\n  maxSize: \"1g\",\r\n  level: \"info\",\r\n};\r\n\r\nconst logger = new Logger(options);\r\n```\r\n\r\nOnce the logger is started, you can log messages with the log method:\r\n\r\n```js\r\nlogger.line();\r\nlogger.error(\"This is an error message\");\r\nlogger.warn(\"This is a warning message\");\r\nlogger.info(\"This is an info message\");\r\nlogger.debug(\"This is a debug message\");\r\nlogger.error(\"err\");\r\nlogger.line();\r\n```\r\n\r\n![LOG](log.png)\r\n\r\nYou can also log messages with the default severity level by omitting the second argument:\r\n\r\n```js\r\nlogger.log(\"This is a default message\");\r\n```\r\n\r\nTo log a horizontal line, use:\r\n\r\n```js\r\nlogger.line();\r\n```\r\n\r\nTo clear screen:\r\n\r\n```js\r\nlogger.clear();\r\n```\r\n\r\n## Example\r\n\r\nAdditional example of how to use the package can be found in the [example](./example.js) file.\r\n\r\n## Configuration Options\r\n\r\nThe following configuration options are available for the logger:\r\n\r\n- `timeZone` (string): The timezone to use for the log file (default: 'Asia/Kolkata')\r\n- `hour` (string): The hour format to use for the log file (default: 'numeric')\r\n- `minute` (string): The minute format to use for the log file (default: 'numeric')\r\n- `hour12` (boolean): Whether to use 12-hour format or not. 1 for true, 0 for false (default: false)\r\n- `filename` (string): The file path with `%DATE%` as a placeholder for the date (default: 'logs/%DATE%.log')\r\n- `datePattern` (string): The date pattern for the filename (default: 'YYYY-MM/DD')\r\n- `zippedArchive` (boolean): Whether to zip the archived files or not (default: false)\r\n- `maxSize` (string): The maximum size of each log file before rotation (default: '1g')\r\n- `level` (string): The level of the log messages (default: 'info')\r\n\r\n## Only console log\r\n\r\nUse logger.logs(\"This is a message\")\r\nalso logger.logs(\"This is a message\", message type)\r\n\r\n## Message Types\r\n\r\nThe following message types are available for the log method:\r\n\r\n- `info` (or `i`): Informational message (green text)\r\n- `warn` (or `w`): Warning message (yellow text)\r\n- `error` (or `e`): Error message (red text)\r\n- `debug` (or `d`): Debug message (magenta text)\r\n- `fatal` (or `f`): Fatal message (white text on red background)\r\n- `line` (or `l`): Horizontal line (cyan text)\r\n\r\n## Output Format\r\n\r\nThe output format for each message type is as follows:\r\n\r\n- Informational message (green text): `[timestamp] [*]> message`\r\n- Warning message (yellow text): `[timestamp] [!]> message`\r\n- Error message (red text): `[timestamp] [x]> message`\r\n- Debug message (magenta text): `[timestamp] [*]> message`\r\n- Fatal message (white text on red background): `[timestamp] [!]> message`\r\n- Horizontal line (cyan text): `>-----------------------------<`\r\n\r\n## License\r\n\r\n`@ajayos/nodelogger` is released under the [`Apache-2.0`](/LICENSE) License.\r\n\r\n---\r\n","readmeFilename":"README.md"}