{"_id":"@akumzy/elysia-logging","_rev":"9-a5a96ef681b8d80b72e970805c87b70f","name":"@akumzy/elysia-logging","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.1":{"name":"@akumzy/elysia-logging","version":"0.0.1","keywords":["elysia","logging","logger"],"author":{"url":"https://github.com/akumzy","name":"akumzy","email":"akumaisaacakuma@gmail.com"},"license":"MIT","_id":"@akumzy/elysia-logging@0.0.1","maintainers":[{"name":"akumzy","email":"akumaisaacakuma@gmail.com"}],"homepage":"https://github.com/akumzy/elysia-logging","bugs":{"url":"https://github.com/akumzy/elysia-logging/issues"},"dist":{"shasum":"7dace7e56288571377f5e15617389c221a202a37","tarball":"https://registry.npmjs.org/@akumzy/elysia-logging/-/elysia-logging-0.0.1.tgz","fileCount":27,"integrity":"sha512-ody/mT/O9zNBZejolugJTFUT+GVKPoST8fsKkSGwQ2y5NrWg+n90aqvbDcdddoFbo6dA0elewzEHCw4QLSVjrw==","signatures":[{"sig":"MEYCIQD64lI1R2Zp7549DWpd7bNXY4pgf2XTZTsIbiTBe4C+JgIhANqJo4zQ3K11nvd2Q2fAwysIZ/GDQpQgCisRVyBkaPZK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51127},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts"}},"gitHead":"4f9a062f34155d222d88379fdf4fc3171df7b515","scripts":{"dev":"bun run --watch src/index.ts | pino-pretty","lint":"eslint --ext .ts src","test":"jest","build":"rm -rf dist/* && tsc --project tsconfig.esm.json","bundle":"bun build --minify --compile src --outfile=build/api","release":"yarn publish --access public","validate":"tsc --noEmit --skipLibCheck","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"akumzy","email":"akumaisaacakuma@gmail.com"},"jestSonar":{"reportFile":"test-report.xml","reportPath":"reports"},"repository":{"url":"git+https://github.com/akumzy/elysia-logging.git","type":"git"},"_npmVersion":"10.8.2","description":"A flexible logging library for Elysia.js","directories":{},"_nodeVersion":"22.5.1","dependencies":{"elysia":"^1.2.25","date-fns":"^4.1.0","date-fns-tz":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslog":"^4.9.3","bunyan":"^1.8.15","eslint":"^9.21.0","ts-jest":"^29.2.6","ts-node":"^10.9.2","winston":"^3.17.0","bun-types":"^1.2.4","jest-junit":"^16.0.0","jest-sonar":"^0.2.16","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/pino":"^7.0.5","pino-pretty":"^13.0.0","@types/bunyan":"^1.8.11","@typescript-eslint/parser":"^8.26.0","@typescript-eslint/eslint-plugin":"^8.26.0"},"peerDependencies":{"elysia":"^1.2.25"},"optionalDependencies":{"pino":"^9.6.0","@types/pino":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/elysia-logging_0.0.1_1741349124074_0.10396676861872378","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@akumzy/elysia-logging","version":"0.0.2","keywords":["elysia","logging","logger"],"author":{"url":"https://github.com/akumzy","name":"akumzy","email":"akumaisaacakuma@gmail.com"},"license":"MIT","_id":"@akumzy/elysia-logging@0.0.2","maintainers":[{"name":"akumzy","email":"akumaisaacakuma@gmail.com"}],"homepage":"https://github.com/akumzy/elysia-logging","bugs":{"url":"https://github.com/akumzy/elysia-logging/issues"},"dist":{"shasum":"ac66e85d108312d5854555f30b87d573e9b0e811","tarball":"https://registry.npmjs.org/@akumzy/elysia-logging/-/elysia-logging-0.0.2.tgz","fileCount":26,"integrity":"sha512-NaqEqRyUKmbLov6UqvJE/Q32BdCpusMJA9JatH7OjqlPQyEjtTGOZNCiQisgO+s+vLkAJmhAavzSgNQFvwKqvg==","signatures":[{"sig":"MEYCIQDfecNZ4MhhdTfz/VQwR9N9/aGUPdFP2QVvRlcnc0PG8gIhAMjwiCRa1iqyz7sWBjZi4AbWZdAaV0kFTlbQ3nX+MRHT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51425},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts"},"./consoleAdapter":{"node":"./dist/adapters/consoleAdapter.js","types":"./dist/adapters/consoleAdapter.d.ts","import":"./dist/adapters/consoleAdapter.js","default":"./dist/adapters/consoleAdapter.js","require":"./dist/adapters/consoleAdapter.js"}},"gitHead":"4f9a062f34155d222d88379fdf4fc3171df7b515","scripts":{"dev":"bun run --watch src/index.ts | pino-pretty","lint":"eslint --ext .ts src","test":"jest","build":"rm -rf dist/* && tsc --project tsconfig.esm.json","bundle":"bun build --minify --compile src --outfile=build/api","release":"yarn publish --access public","validate":"tsc --noEmit --skipLibCheck","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"akumzy","email":"akumaisaacakuma@gmail.com"},"jestSonar":{"reportFile":"test-report.xml","reportPath":"reports"},"repository":{"url":"git+https://github.com/akumzy/elysia-logging.git","type":"git"},"_npmVersion":"10.8.2","description":"A flexible logging library for Elysia.js","directories":{},"_nodeVersion":"22.5.1","dependencies":{"elysia":"^1.2.25","date-fns":"^4.1.0","date-fns-tz":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslog":"^4.9.3","bunyan":"^1.8.15","eslint":"^9.21.0","ts-jest":"^29.2.6","ts-node":"^10.9.2","winston":"^3.17.0","bun-types":"^1.2.4","jest-junit":"^16.0.0","jest-sonar":"^0.2.16","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/pino":"^7.0.5","pino-pretty":"^13.0.0","@types/bunyan":"^1.8.11","@typescript-eslint/parser":"^8.26.0","@typescript-eslint/eslint-plugin":"^8.26.0"},"peerDependencies":{"elysia":"^1.2.25"},"optionalDependencies":{"pino":"^9.6.0","@types/pino":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/elysia-logging_0.0.2_1741349700770_0.1894128586151831","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@akumzy/elysia-logging","version":"0.0.3","keywords":["elysia","logging","logger"],"author":{"url":"https://github.com/akumzy","name":"akumzy","email":"akumaisaacakuma@gmail.com"},"license":"MIT","_id":"@akumzy/elysia-logging@0.0.3","maintainers":[{"name":"akumzy","email":"akumaisaacakuma@gmail.com"}],"homepage":"https://github.com/akumzy/elysia-logging","bugs":{"url":"https://github.com/akumzy/elysia-logging/issues"},"dist":{"shasum":"aa1e5de61b57f42ad911cf44fb64d01f1336043f","tarball":"https://registry.npmjs.org/@akumzy/elysia-logging/-/elysia-logging-0.0.3.tgz","fileCount":26,"integrity":"sha512-zs6RYc15MFKxHJ9WvpvpuKkI645JqGNGQDcCzSVXqSRR/y/tDzyfLhkPF08PtEurNkYKvVjKMYlq/GGHMnhZpA==","signatures":[{"sig":"MEYCIQDg7BXGSL+EU9lSDHB7DjgiBYKLXysYjkSriVx/V42EjwIhALLGGrz9eIWDBepXtN/378qFKLcdzqWDuZ+/XsfsrMRU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51358},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts"},"./consoleAdapter":{"node":"./dist/consoleAdapter.js","types":"./dist/consoleAdapter.d.ts","import":"./dist/consoleAdapter.js","default":"./dist/consoleAdapter.js","require":"./dist/consoleAdapter.js"}},"gitHead":"4f9a062f34155d222d88379fdf4fc3171df7b515","scripts":{"dev":"bun run --watch src/index.ts | pino-pretty","lint":"eslint --ext .ts src","test":"jest","build":"rm -rf dist/* && tsc --project tsconfig.esm.json","bundle":"bun build --minify --compile src --outfile=build/api","release":"yarn publish --access public","validate":"tsc --noEmit --skipLibCheck","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"akumzy","email":"akumaisaacakuma@gmail.com"},"jestSonar":{"reportFile":"test-report.xml","reportPath":"reports"},"repository":{"url":"git+https://github.com/akumzy/elysia-logging.git","type":"git"},"_npmVersion":"10.8.2","description":"A flexible logging library for Elysia.js","directories":{},"_nodeVersion":"22.5.1","dependencies":{"elysia":"^1.2.25","date-fns":"^4.1.0","date-fns-tz":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslog":"^4.9.3","bunyan":"^1.8.15","eslint":"^9.21.0","ts-jest":"^29.2.6","ts-node":"^10.9.2","winston":"^3.17.0","bun-types":"^1.2.4","jest-junit":"^16.0.0","jest-sonar":"^0.2.16","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/pino":"^7.0.5","pino-pretty":"^13.0.0","@types/bunyan":"^1.8.11","@typescript-eslint/parser":"^8.26.0","@typescript-eslint/eslint-plugin":"^8.26.0"},"peerDependencies":{"elysia":"^1.2.25"},"optionalDependencies":{"pino":"^9.6.0","@types/pino":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/elysia-logging_0.0.3_1741349857251_0.5421893941748177","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@akumzy/elysia-logging","version":"0.0.4","keywords":["elysia","logging","logger"],"author":{"url":"https://github.com/akumzy","name":"akumzy","email":"akumaisaacakuma@gmail.com"},"license":"MIT","_id":"@akumzy/elysia-logging@0.0.4","maintainers":[{"name":"akumzy","email":"akumaisaacakuma@gmail.com"}],"homepage":"https://github.com/akumzy/elysia-logging","bugs":{"url":"https://github.com/akumzy/elysia-logging/issues"},"dist":{"shasum":"33d677669955b2b0a138a5cf59261fed27ebcf2c","tarball":"https://registry.npmjs.org/@akumzy/elysia-logging/-/elysia-logging-0.0.4.tgz","fileCount":26,"integrity":"sha512-8u6OFlR0fIu4P9smd1B5hoqkGId5zvFyM/9SBVrqpUHUtE8XCCUWR/lA2S1GQNDXF7gfXykHy1WGYCY7OR+cDg==","signatures":[{"sig":"MEUCIHx/EsTyD46vWeYPPJfiHyZx/9a+vfF8T46YY4yKyI/UAiEAt8vzu7bEMUY6+GLiUMevpS/6cCr5aaYtZ47tTLKTi6U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51520},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts"},"./consoleAdapter":{"node":"./dist/consoleAdapter.js","types":"./dist/consoleAdapter.d.ts","import":"./dist/consoleAdapter.js","default":"./dist/consoleAdapter.js","require":"./dist/consoleAdapter.js"}},"gitHead":"5bb3690c638a49220a776690eec04086e887ea18","scripts":{"dev":"bun run --watch src/index.ts | pino-pretty","lint":"eslint --ext .ts src","test":"jest","build":"rm -rf dist/* && tsc --project tsconfig.esm.json","bundle":"bun build --minify --compile src --outfile=build/api","release":"yarn publish --access public","validate":"tsc --noEmit --skipLibCheck","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"akumzy","email":"akumaisaacakuma@gmail.com"},"jestSonar":{"reportFile":"test-report.xml","reportPath":"reports"},"repository":{"url":"git+https://github.com/akumzy/elysia-logging.git","type":"git"},"_npmVersion":"10.8.2","description":"A flexible logging library for Elysia.js","directories":{},"_nodeVersion":"22.5.1","dependencies":{"elysia":"^1.2.25","date-fns":"^4.1.0","date-fns-tz":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslog":"^4.9.3","bunyan":"^1.8.15","eslint":"^9.21.0","ts-jest":"^29.2.6","ts-node":"^10.9.2","winston":"^3.17.0","bun-types":"^1.2.4","jest-junit":"^16.0.0","jest-sonar":"^0.2.16","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/pino":"^7.0.5","pino-pretty":"^13.0.0","@types/bunyan":"^1.8.11","@typescript-eslint/parser":"^8.26.0","@typescript-eslint/eslint-plugin":"^8.26.0"},"peerDependencies":{"elysia":"^1.2.25"},"optionalDependencies":{"pino":"^9.6.0","@types/pino":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/elysia-logging_0.0.4_1741349983029_0.6266370370386072","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@akumzy/elysia-logging","version":"0.0.5","keywords":["elysia","logging","logger"],"author":{"url":"https://github.com/akumzy","name":"akumzy","email":"akumaisaacakuma@gmail.com"},"license":"MIT","_id":"@akumzy/elysia-logging@0.0.5","maintainers":[{"name":"akumzy","email":"akumaisaacakuma@gmail.com"}],"homepage":"https://github.com/akumzy/elysia-logging","bugs":{"url":"https://github.com/akumzy/elysia-logging/issues"},"dist":{"shasum":"fe5582b7bf7f7ca3af64b824941025023d65c58d","tarball":"https://registry.npmjs.org/@akumzy/elysia-logging/-/elysia-logging-0.0.5.tgz","fileCount":26,"integrity":"sha512-bdRIlM8YcPUvPGJtmrV8H/vXoHIr7xIEhA78HVWEiM976QRrVUPL9n9kFUvfM2nF8mULd+SPIyaiRONXb3htMg==","signatures":[{"sig":"MEUCIAJZQ5t+4OaqmGpTcsASLlSK7QvGIpuBG6DnYZacIgfYAiEAtYSPXoBOPU9XHgPsMMlGMfEusOHs1sonu9guLTu9FI0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57320},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts"},"./consoleAdapter":{"node":"./dist/consoleAdapter.js","types":"./dist/consoleAdapter.d.ts","import":"./dist/consoleAdapter.js","default":"./dist/consoleAdapter.js","require":"./dist/consoleAdapter.js"}},"gitHead":"5bb3690c638a49220a776690eec04086e887ea18","scripts":{"dev":"bun run --watch src/index.ts | pino-pretty","lint":"eslint --ext .ts src","test":"jest","build":"rm -rf dist/* && tsc --project tsconfig.esm.json","bundle":"bun build --minify --compile src --outfile=build/api","release":"yarn publish --access public","validate":"tsc --noEmit --skipLibCheck","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"akumzy","email":"akumaisaacakuma@gmail.com"},"jestSonar":{"reportFile":"test-report.xml","reportPath":"reports"},"repository":{"url":"git+https://github.com/akumzy/elysia-logging.git","type":"git"},"_npmVersion":"10.8.2","description":"A flexible logging library for Elysia.js","directories":{},"_nodeVersion":"22.5.1","dependencies":{"elysia":"^1.2.25","date-fns":"^4.1.0","date-fns-tz":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslog":"^4.9.3","bunyan":"^1.8.15","eslint":"^9.21.0","ts-jest":"^29.2.6","ts-node":"^10.9.2","winston":"^3.17.0","bun-types":"^1.2.4","jest-junit":"^16.0.0","jest-sonar":"^0.2.16","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/pino":"^7.0.5","pino-pretty":"^13.0.0","@types/bunyan":"^1.8.11","@typescript-eslint/parser":"^8.26.0","@typescript-eslint/eslint-plugin":"^8.26.0"},"peerDependencies":{"elysia":"^1.2.25"},"optionalDependencies":{"pino":"^9.6.0","@types/pino":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/elysia-logging_0.0.5_1741350919230_0.05349391306903439","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@akumzy/elysia-logging","version":"0.0.6","keywords":["elysia","logging","logger"],"author":{"url":"https://github.com/akumzy","name":"akumzy","email":"akumaisaacakuma@gmail.com"},"license":"MIT","_id":"@akumzy/elysia-logging@0.0.6","maintainers":[{"name":"akumzy","email":"akumaisaacakuma@gmail.com"}],"homepage":"https://github.com/akumzy/elysia-logging","bugs":{"url":"https://github.com/akumzy/elysia-logging/issues"},"dist":{"shasum":"0030c002a08efcef03dabd9d634e92f7089083e0","tarball":"https://registry.npmjs.org/@akumzy/elysia-logging/-/elysia-logging-0.0.6.tgz","fileCount":23,"integrity":"sha512-2h01bnE4+tilLv/axxIDqfmqZOaLzOjZ4494fLiL96xcVcgZw0yKQUNI76qEGLv7rEQiCdcq2OYTsFF3smp4BA==","signatures":[{"sig":"MEQCIDc7V8I2W+0JP8ePhrvtrqEihCkH/FeLx19eo2lf23zjAiBCSRS/DEFgK+Vbk720FpmRdRL2pJBLuoAAe1yfSaqmIA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53544},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts"}},"gitHead":"3a5fe3bfb2bb2788d9688db9716970181b72b056","scripts":{"dev":"bun run --watch src/index.ts | pino-pretty","lint":"eslint --ext .ts src","test":"jest","build":"rm -rf dist/* && tsc --project tsconfig.esm.json","bundle":"bun build --minify --compile src --outfile=build/api","release":"yarn publish --access public","validate":"tsc --noEmit --skipLibCheck","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"akumzy","email":"akumaisaacakuma@gmail.com"},"jestSonar":{"reportFile":"test-report.xml","reportPath":"reports"},"repository":{"url":"git+https://github.com/akumzy/elysia-logging.git","type":"git"},"_npmVersion":"10.8.2","description":"A flexible logging library for Elysia.js","directories":{},"_nodeVersion":"22.5.1","dependencies":{"elysia":"^1.2.25","date-fns":"^4.1.0","date-fns-tz":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslog":"^4.9.3","bunyan":"^1.8.15","eslint":"^9.21.0","ts-jest":"^29.2.6","ts-node":"^10.9.2","winston":"^3.17.0","bun-types":"^1.2.4","jest-junit":"^16.0.0","jest-sonar":"^0.2.16","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/pino":"^7.0.5","pino-pretty":"^13.0.0","@types/bunyan":"^1.8.11","@typescript-eslint/parser":"^8.26.0","@typescript-eslint/eslint-plugin":"^8.26.0"},"peerDependencies":{"elysia":"^1.2.25"},"optionalDependencies":{"pino":"^9.6.0","@types/pino":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/elysia-logging_0.0.6_1741351642219_0.9422927948481621","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@akumzy/elysia-logging","version":"0.0.7","keywords":["elysia","logging","logger"],"author":{"url":"https://github.com/akumzy","name":"akumzy","email":"akumaisaacakuma@gmail.com"},"license":"MIT","_id":"@akumzy/elysia-logging@0.0.7","maintainers":[{"name":"akumzy","email":"akumaisaacakuma@gmail.com"}],"homepage":"https://github.com/akumzy/elysia-logging","bugs":{"url":"https://github.com/akumzy/elysia-logging/issues"},"dist":{"shasum":"1e67b68b415a619a2bb1146b9b16fa7e8761ca77","tarball":"https://registry.npmjs.org/@akumzy/elysia-logging/-/elysia-logging-0.0.7.tgz","fileCount":23,"integrity":"sha512-+xe4jXF6R1tExUDkA4NFH4eeLjA6cxf+7nFTb5vP/mdpkxCr+lbLDtzPZ2kn2v7IdNthMYg1EmUmN/aMKFMMIQ==","signatures":[{"sig":"MEUCIQDMt7wUTWzKh2pXwwwwqILNQJSfeSy+5LZ9r3ORS6m/2QIgPES1R1qTUau9U6Jg3XX52hyl9BRkCdd39pxdm+WlA/g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53054},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts"}},"gitHead":"5db31aae0a9c3952c63155c832782f1e369f564d","scripts":{"dev":"bun run --watch src/index.ts | pino-pretty","lint":"eslint --ext .ts src","test":"jest","build":"rm -rf dist/* && tsc --project tsconfig.esm.json","bundle":"bun build --minify --compile src --outfile=build/api","release":"yarn publish --access public","validate":"tsc --noEmit --skipLibCheck","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"akumzy","email":"akumaisaacakuma@gmail.com"},"jestSonar":{"reportFile":"test-report.xml","reportPath":"reports"},"repository":{"url":"git+https://github.com/akumzy/elysia-logging.git","type":"git"},"_npmVersion":"10.8.2","description":"A flexible logging library for Elysia.js","directories":{},"_nodeVersion":"22.5.1","dependencies":{"elysia":"^1.2.25","date-fns":"^4.1.0","date-fns-tz":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslog":"^4.9.3","bunyan":"^1.8.15","eslint":"^9.21.0","ts-jest":"^29.2.6","ts-node":"^10.9.2","winston":"^3.17.0","bun-types":"^1.2.4","jest-junit":"^16.0.0","jest-sonar":"^0.2.16","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/pino":"^7.0.5","pino-pretty":"^13.0.0","@types/bunyan":"^1.8.11","@typescript-eslint/parser":"^8.26.0","@typescript-eslint/eslint-plugin":"^8.26.0"},"peerDependencies":{"elysia":"^1.2.25"},"optionalDependencies":{"pino":"^9.6.0","@types/pino":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/elysia-logging_0.0.7_1741865157748_0.9878287213123644","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@akumzy/elysia-logging","version":"0.0.8","keywords":["elysia","logging","logger"],"author":{"url":"https://github.com/akumzy","name":"akumzy","email":"akumaisaacakuma@gmail.com"},"license":"MIT","_id":"@akumzy/elysia-logging@0.0.8","maintainers":[{"name":"akumzy","email":"akumaisaacakuma@gmail.com"}],"homepage":"https://github.com/akumzy/elysia-logging","bugs":{"url":"https://github.com/akumzy/elysia-logging/issues"},"dist":{"shasum":"d46f88ea16e260eca2ccfbdf63728752cbf910d8","tarball":"https://registry.npmjs.org/@akumzy/elysia-logging/-/elysia-logging-0.0.8.tgz","fileCount":23,"integrity":"sha512-MphK2niqqnH+oMPrk4Fd8Odk4TRsSPpU+bL7PbiXNIwh+iUScY+GbijW8mKi3yJINpFgVKKmSD0+G8GJmX6TVw==","signatures":[{"sig":"MEYCIQCHDU3LZxV0D+cD8DzJ6FMF+peDS7IIc/uV6EysH8UWSwIhAINxt5pz181O5iBsSViTJ4n2aKua+cnFO4StQGdvLCyq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52955},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts"}},"gitHead":"f6e61f06c83e91c97e4108d5437f316c7e399038","scripts":{"dev":"bun run --watch src/index.ts | pino-pretty","lint":"eslint --ext .ts src","test":"jest","build":"rm -rf dist/* && tsc --project tsconfig.esm.json","bundle":"bun build --minify --compile src --outfile=build/api","release":"yarn publish --access public","validate":"tsc --noEmit --skipLibCheck","test:watch":"jest --watch","test:coverage":"jest --coverage"},"_npmUser":{"name":"akumzy","email":"akumaisaacakuma@gmail.com"},"jestSonar":{"reportFile":"test-report.xml","reportPath":"reports"},"repository":{"url":"git+https://github.com/akumzy/elysia-logging.git","type":"git"},"_npmVersion":"10.8.2","description":"A flexible logging library for Elysia.js","directories":{},"_nodeVersion":"22.5.1","dependencies":{"elysia":"^1.2.25","date-fns":"^4.1.0","date-fns-tz":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslog":"^4.9.3","bunyan":"^1.8.15","eslint":"^9.21.0","ts-jest":"^29.2.6","ts-node":"^10.9.2","winston":"^3.17.0","bun-types":"^1.2.4","jest-junit":"^16.0.0","jest-sonar":"^0.2.16","typescript":"^5.8.2","@types/jest":"^29.5.14","@types/pino":"^7.0.5","pino-pretty":"^13.0.0","@types/bunyan":"^1.8.11","@typescript-eslint/parser":"^8.26.0","@typescript-eslint/eslint-plugin":"^8.26.0"},"peerDependencies":{"elysia":"^1.2.25"},"optionalDependencies":{"pino":"^9.6.0","@types/pino":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/elysia-logging_0.0.8_1741870826715_0.8109701154794879","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@akumzy/elysia-logging","description":"A flexible logging library for Elysia.js","author":{"name":"akumzy","email":"akumaisaacakuma@gmail.com","url":"https://github.com/akumzy"},"repository":{"type":"git","url":"git+https://github.com/akumzy/elysia-logging.git"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/index.js","import":"./dist/index.js","node":"./dist/index.js","default":"./dist/index.js","types":"./dist/index.d.ts"},"./types":{"types":"./dist/types.d.ts"}},"scripts":{"build":"rm -rf dist/* && tsc --project tsconfig.esm.json","dev":"bun run --watch src/index.ts | pino-pretty","test":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","validate":"tsc --noEmit --skipLibCheck","lint":"eslint --ext .ts src","bundle":"bun build --minify --compile src --outfile=build/api","release":"yarn publish --access public"},"jestSonar":{"reportPath":"reports","reportFile":"test-report.xml"},"dependencies":{"date-fns":"^4.1.0","date-fns-tz":"^3.2.0","elysia":"^1.2.25"},"peerDependencies":{"elysia":"^1.2.25"},"optionalDependencies":{"pino":"^9.6.0","@types/pino":"^7.0.5"},"devDependencies":{"@types/bunyan":"^1.8.11","@types/jest":"^29.5.14","@types/pino":"^7.0.5","@typescript-eslint/eslint-plugin":"^8.26.0","@typescript-eslint/parser":"^8.26.0","bun-types":"^1.2.4","bunyan":"^1.8.15","eslint":"^9.21.0","jest":"^29.7.0","jest-junit":"^16.0.0","jest-sonar":"^0.2.16","pino-pretty":"^13.0.0","ts-jest":"^29.2.6","ts-node":"^10.9.2","tslog":"^4.9.3","typescript":"^5.8.2","winston":"^3.17.0"},"homepage":"https://github.com/akumzy/elysia-logging","bugs":{"url":"https://github.com/akumzy/elysia-logging/issues"},"license":"MIT","keywords":["elysia","logging","logger"],"version":"0.0.9","_id":"@akumzy/elysia-logging@0.0.9","gitHead":"f6e61f06c83e91c97e4108d5437f316c7e399038","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-f7zTDIXwXCBGRIljVuB2MuLRDnUhOmKv9pIegRYCmRE8BP4dwdp0oR1oaUvkMFQp6Qwf3CBPMGAqO/XbhKKwlQ==","shasum":"13845a55f88a9500df6544d7200e57efe287ba66","tarball":"https://registry.npmjs.org/@akumzy/elysia-logging/-/elysia-logging-0.0.9.tgz","fileCount":23,"unpackedSize":52822,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC9LIf+7atTj9/qO//hugXeMSYQxiuEIUK5cBuiXMhLowIhAIOYu0iWZQ+i5fW6sS6+JgS8BXTRfuyTPh+fQ7ozLjL8"}]},"_npmUser":{"name":"akumzy","email":"akumaisaacakuma@gmail.com"},"directories":{},"maintainers":[{"name":"akumzy","email":"akumaisaacakuma@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/elysia-logging_0.0.9_1741899283057_0.09295423588884799"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-07T12:05:24.009Z","modified":"2025-03-13T20:54:43.437Z","0.0.1":"2025-03-07T12:05:24.228Z","0.0.2":"2025-03-07T12:15:00.954Z","0.0.3":"2025-03-07T12:17:37.469Z","0.0.4":"2025-03-07T12:19:43.221Z","0.0.5":"2025-03-07T12:35:19.514Z","0.0.6":"2025-03-07T12:47:22.450Z","0.0.7":"2025-03-13T11:25:57.930Z","0.0.8":"2025-03-13T13:00:26.941Z","0.0.9":"2025-03-13T20:54:43.253Z"},"bugs":{"url":"https://github.com/akumzy/elysia-logging/issues"},"author":{"name":"akumzy","email":"akumaisaacakuma@gmail.com","url":"https://github.com/akumzy"},"license":"MIT","homepage":"https://github.com/akumzy/elysia-logging","keywords":["elysia","logging","logger"],"repository":{"type":"git","url":"git+https://github.com/akumzy/elysia-logging.git"},"description":"A flexible logging library for Elysia.js","maintainers":[{"name":"akumzy","email":"akumaisaacakuma@gmail.com"}],"readme":"# @otherguy/elysia-logging\n\nAn advanced logging plugin designed for [Elysia.js](https://elysiajs.com), prioritizing structured logging tailored for production environments.\n\n<p align=\"center\">\n\n  [![npm version](https://img.shields.io/npm/v/%40otherguy/elysia-logging?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/@otherguy/elysia-logging)\n  [![npm downloads](https://img.shields.io/npm/dm/%40otherguy/elysia-logging?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/@otherguy/elysia-logging)\n  [![Snyk Monitored](https://img.shields.io/badge/Snyk-Monitored-8A2BE2?style=for-the-badge&logo=snyk)](https://snyk.io/test/github/otherguy/elysia-logging)\n  [![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/otherguy/elysia-logging/ci.yml?event=push&style=for-the-badge&logo=github)](https://github.com/otherguy/elysia-logging/actions/workflows/ci.yml)\n  [![GitHub License](https://img.shields.io/github/license/otherguy/elysia-logging?style=for-the-badge)](https://github.com/otherguy/elysia-logging/blob/main/LICENSE.md)\n  [![Code Climate Coverage](https://img.shields.io/codeclimate/coverage/otherguy/elysia-logging?style=for-the-badge&logo=codeclimate)](https://codeclimate.com/github/otherguy/elysia-logging)\n  [![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/otherguy/elysia-logging?style=for-the-badge&logo=codefactor)](https://www.codefactor.io/repository/github/otherguy/elysia-logging/)\n  [![Sonar CodeSmells](https://img.shields.io/sonar/violations/elysia-logging/main?server=https%3A%2F%2Fsonarcloud.io&style=for-the-badge&logo=sonarcloud&label=Code%20Smells)](https://sonarcloud.io/project/overview?id=elysia-logging)\n\n</p>\n\n---\n\n## 🌈 Features\n\n* **Structured Logging** - Log in JSON format for easy parsing and filtering\n* **Customizable** - Customize the log level, formatter and logger\n* **Production First** - Designed for production environments first\n\n## 🚀 Installation\n\n```bash\n# For bun\nbun add @otherguy/elysia-logging\n\n# For npm\nnpm install @otherguy/elysia-logging\n\n# For yarn\nyarn add @otherguy/elysia-logging\n```\n\n## 📚 Usage\n\nBy default, the plugin will log to the console using the `console` module. The default formatter is `json` and the default log level is `info`.\n\n```ts\nimport { Elysia } from \"elysia\";\nimport { ElysiaLogging } from \"../src/elysiaLogging\";\n\n// Create Elysia app\nconst app = new Elysia()\n  .use(ElysiaLogging())\n  .get(\"/\", () => {\n    return new Response(\"Welcome to Bun!\");\n  })\n  .listen(3000);\n\nconsole.log(`Running at http://${app.server?.hostname}:${app.server?.port}`);\n```\n\nUsing the default settings, the plugin will log the following for each request. Since the `console` module is pretty printing the JSON, the output in the console will be formatted slightly differently.\n\n```json\n{\n  \"message\": \"GET / completed with status 200 in 363.3µs\",\n  \"request\": {\n    \"ip\": \"127.0.0.1\",\n    \"method\": \"GET\",\n    \"url\": {\n      \"path\": \"/\",\n      \"params\": {}\n    }\n  },\n  \"response\": {\n    \"status_code\": 200,\n    \"time\": 363250\n  }\n}\n```\n\n### Custom Logger\n\nSince the `console` is very limited, you may want to use a custom logger. The recommended logger is [pino](https://github.com/pinojs/pino) but you can use any logger that can implement the `Logger` interface.\n\nSee the [examples](examples) directory for implementation examples.\n\n* [Pino](https://github.com/pinojs/pino) (see [example](examples/pino.ts))\n* [TSLog](https://tslog.js.org/) (see [example](examples/tslog.ts))\n* [Winston](https://github.com/winstonjs/winston) (see [example](examples/winston.ts))\n* [Bunyan](https://github.com/trentm/node-bunyan) (see [example](examples/bunyan.ts))\n\n## 🪜 Examples\n\nEven more examples are provided in the [`examples`](examples) directory.\n\n* [Basic](examples/basic.ts) - A basic example of using the plugin with the default settings\n* [JSON](examples/json.ts) - A basic example of logging in JSON\n* [Custom Function](examples/custom-function.ts) - An example of using a function as custom logging formatter\n* [On Error](examples/on-error.ts) - An example of logging errors in addition to access logging\n* [Pino](examples/pino.ts) - An example of using the [Pino](https://github.com/pinojs/pino) logger\n* [Pino Pretty](examples/pino.ts) - An example of using the [Pino](https://github.com/pinojs/pino) logger with [pino-pretty](https://github.com/pinojs/pino-pretty) _(not recommended for production)_\n* [TSLog](examples/tslog.ts) - An example of using the [TSLog](https://tslog.js.org/) logger\n* [Bunyan](examples/bunyan.ts) - An example of using the [Bunyan](https://github.com/trentm/node-bunyan) logger\n* [Winston](examples/winston.ts) - An example of using the [Winston](https://github.com/winstonjs/winston) logger\n\n## 📜 To Do\n\n* [ ] Add logger format classes\n* [ ] Add whitelist for request parameters\n\n## ⚖️ License\n\nThis project is distributed under the [MIT](LICENSE.md) license, allowing for open source distribution and modification, subject to the terms outlined in the [LICENSE.md](LICENSE.md) file.\n\n## 🚧 Contributing\n\nBug reports, feature requests and Pull Requests are more than welcome on GitHub at [`otherguy/elysia-logging`](https://github.com/otherguy/elysia-logging)! Please remember to add test coverage for your code if you are contributing.\n\n## ♥️ Acknowledgements\n\n* [SaltyAom](https://github.com/SaltyAom) for the [Elysia.js](https://elysiajs.com) framework.\n","readmeFilename":"README.md"}