{"_id":"@code-net/logging","_rev":"22-84ef2a4136a2720877e2377dde9316e2","name":"@code-net/logging","dist-tags":{"latest":"1.2.0"},"versions":{"0.2.0":{"name":"@code-net/logging","version":"0.2.0","_id":"@code-net/logging@0.2.0","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"dist":{"shasum":"79ae06f6b4596b8fef9d70886da85891048b50b6","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-0.2.0.tgz","fileCount":16,"integrity":"sha512-WNXeBDfmPA214DHDJ7z8onkYPb5CFoizOpJYCdXzPW6VnfFTPyyFGJ2qSPlQupXgbvzRUOplTvCJo2SfkCNdlg==","signatures":[{"sig":"MEQCIE1i7rosGGUmf7d8s3u27jyddeB7xkqV4nJHuO1mgY0kAiBX+JZI7jxgjH9NVNisSMvWzPrB83Ha/qOva9JlWWXg0w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10999},"gitHead":"412979d4811a73a1149970ffa6eaff0270b0b92e","scripts":{"build":"tsc -p tsconfig.lib.json"},"_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"_npmVersion":"10.7.0","description":"This package provides a logging interface for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the choice o","directories":{},"_nodeVersion":"18.20.4","dependencies":{"pino":"^9.5.0","pino-pretty":"^13.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_0.2.0_1747080170526_0.587270355083606","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@code-net/logging","version":"0.2.1","_id":"@code-net/logging@0.2.1","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"dist":{"shasum":"328d5884585fc5d254767fde922bea233ecde2bc","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-0.2.1.tgz","fileCount":2,"integrity":"sha512-2WAZesNmT112XyAxVCHKXzsHQt9YdrJ+Qdg2C5yvsRVyknt+Ha6ZF7hwnKlhsmd0bcnyhr9Mc8+ZpRz4UQ9VfA==","signatures":[{"sig":"MEUCIA1uEUxaLMYhylF9Gdcso0XU1ZeawIcHW1eVeBI+d1SEAiEAq7G7CQXOF64LSvMHhSB8Yn4z5/DJ2cfogRCTdaE3ins=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2988},"main":"./src/index.js","gitHead":"412979d4811a73a1149970ffa6eaff0270b0b92e","scripts":{"build":"rm -rf dist && tsc -p tsconfig.lib.json"},"_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"_npmVersion":"10.7.0","description":"This package provides a logging interface for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the choice o","directories":{},"_nodeVersion":"18.20.4","dependencies":{"pino":"^9.5.0","pino-pretty":"^13.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_0.2.1_1747080757969_0.19822075742036627","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@code-net/logging","version":"0.0.1","_id":"@code-net/logging@0.0.1","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"dist":{"shasum":"7808dd23e94d6b970027fd66e502b55b9190e87d","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-0.0.1.tgz","fileCount":17,"integrity":"sha512-+YEI3/nnzIKDnHzXDghn+7eAaJrr7RfXIpSKq2BlsTd+gBgUwZjZpcUI95hQOrEbEV7n7xx7ZfxaUXk+YI7gTA==","signatures":[{"sig":"MEQCIFzs2roYHsZQUWixEZaQpd/0bLcLJANEoH4AtEd9tqaSAiBAdKJZVC3+WiSEfcOee1s5U8qIR2JsZ3N3OwKaqEM2PA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10013},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"e1b883c9ff988f94e9e45391e9c4dc6d4eedff06","_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"_npmVersion":"10.8.2","description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","directories":{},"_nodeVersion":"20.18.1","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_0.0.1_1749239111249_0.41728345866780536","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@code-net/logging","version":"0.3.0","_id":"@code-net/logging@0.3.0","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"dist":{"shasum":"b8d233f518c494f60d852f0e5d0da9cb8c89a6fe","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-0.3.0.tgz","fileCount":17,"integrity":"sha512-wEuDqoAQySWMhf8El1P+RhYtNw34o7pmztueIrqV4HpUYJbd6X2quot6wrtuaz6bW+kmm1dteIVTquOi3NMJ8Q==","signatures":[{"sig":"MEYCIQDaI1cEcRFJ7d3SsxPa9IoqZ5K2z9pxZdk4pDs1stfy1wIhAJaVNUnwycIUogcRtQVGUXBQNvZxyomlJzB0RmPs+M8m","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10013},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"63e880fdb0986ea2a66330eeebcfd910d28efa5e","_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"_npmVersion":"10.8.2","description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","directories":{},"_nodeVersion":"20.18.1","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_0.3.0_1749240805090_0.8253162927726772","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@code-net/logging","version":"0.1.1","_id":"@code-net/logging@0.1.1","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"homepage":"https://github.com/CodeNet-pl/NodeJS#readme","bugs":{"url":"https://github.com/CodeNet-pl/NodeJS/issues"},"dist":{"shasum":"03fbcf6a9cde5739ebb9cd8083b586d7f8a3a534","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-0.1.1.tgz","fileCount":17,"integrity":"sha512-d9dwhQWQTGYlZdjtaQmTm4nzyYznoi0AwL+qmHIVd2XTSv/V/uqbjHCQwgQMisXRJzeFcLlwbYGpfCV/k4+jAg==","signatures":[{"sig":"MEYCIQDOn2ZB/SNZtcwywNff2JK0kSY1HlsWkLhk7mAyefYQrgIhAIci7amhR77V+e77DR0z/vXDtIMk2UcAVntbVdhGSXvd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10087},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"1d39566608479aff1632e559f88506acdf4077c1","_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"repository":{"url":"git+https://github.com/CodeNet-pl/NodeJS.git"},"_npmVersion":"10.8.2","description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","directories":{},"_nodeVersion":"20.18.1","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_0.1.1_1749241465688_0.10192073042203265","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@code-net/logging","version":"1.0.0","_id":"@code-net/logging@1.0.0","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"homepage":"https://github.com/CodeNet-pl/NodeJS#readme","bugs":{"url":"https://github.com/CodeNet-pl/NodeJS/issues"},"dist":{"shasum":"891ba06898f1ce8d037c62cc4a4a2d3c54164fb7","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-1.0.0.tgz","fileCount":17,"integrity":"sha512-LkMeR31PYfpBx38jUR5mGbMPg05zCkpMjFr1cyvyMpqcU7+nKMgv9+OP//M4uxTzfRXTAGC5L0L82Q31JwsPEA==","signatures":[{"sig":"MEQCIGVwYg4JuSCiiAOqt1GXPSyC71rPQrQnRvThRSVNqJ4bAiAhHFNnWciWMCwQzKrFXmkYPxnFdgsKCT35mwCZL/scJg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9316},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"44198240690e5075544cd56dae409e87ee8fa1ec","_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"repository":{"url":"git+https://github.com/CodeNet-pl/NodeJS.git"},"_npmVersion":"10.8.2","description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","directories":{},"_nodeVersion":"20.18.1","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_1.0.0_1749305380227_0.15997258455991759","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@code-net/logging","version":"1.0.1","_id":"@code-net/logging@1.0.1","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"homepage":"https://github.com/CodeNet-pl/NodeJS#readme","bugs":{"url":"https://github.com/CodeNet-pl/NodeJS/issues"},"dist":{"shasum":"b394d00956e34478d6bd7477cf45e533407eda30","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-1.0.1.tgz","fileCount":17,"integrity":"sha512-Fop31xklxQLgD+3zBofB0jhEzc9KWuHY2G8pbA5wcg9H+6xZCIw1Cjqx0fvIefqy8eu5UCJG+CRzlrtyFG33PA==","signatures":[{"sig":"MEUCICFIUF/2r9Z+z2DBVXyehc1kJZfnG/HVv49zg3UZtiLoAiEAghWcYoPuM9sU9bJWC48jZAtzqURX4WMs0fS72LvaTeE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9308},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"0df787defde2964e3bccc7513ea6deb0bcf35245","_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"repository":{"url":"git+https://github.com/CodeNet-pl/NodeJS.git"},"_npmVersion":"10.8.2","description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","directories":{},"_nodeVersion":"20.18.1","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_1.0.1_1749305843182_0.2624332357426664","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@code-net/logging","version":"1.0.2","_id":"@code-net/logging@1.0.2","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"homepage":"https://github.com/CodeNet-pl/NodeJS#readme","bugs":{"url":"https://github.com/CodeNet-pl/NodeJS/issues"},"dist":{"shasum":"f421fe970101f63f27b3f4ab5d4a3415434545ba","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-1.0.2.tgz","fileCount":17,"integrity":"sha512-PLXvOGY0JWZ6xWwke4GGR5Kll9Zo/snQF2JIGBybDjDmyV9gvuv12e9OUQlIJLAdkyCiKgFOrwsezIp3/pzaGg==","signatures":[{"sig":"MEYCIQC57KEzeB7IOew1Xip6m97Vzg1iHLgRkyqRjSt+SFUJyQIhAPfpSk6XdMpEvWlXPKTX7yu2HTwnz6EgIEWWlKdJ3Buy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9308},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"42ee562ba009dda55cab229fafecc31c25f67f69","_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"repository":{"url":"git+https://github.com/CodeNet-pl/NodeJS.git"},"_npmVersion":"10.8.2","description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","directories":{},"_nodeVersion":"20.18.1","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_1.0.2_1749327066590_0.9801307241326185","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@code-net/logging","version":"1.0.3","_id":"@code-net/logging@1.0.3","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"homepage":"https://github.com/CodeNet-pl/NodeJS#readme","bugs":{"url":"https://github.com/CodeNet-pl/NodeJS/issues"},"dist":{"shasum":"ded3196c02dc780789b7cd5d595a3c91ee3c82b2","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-1.0.3.tgz","fileCount":16,"integrity":"sha512-4tYNqMFfGR+JaO1iRGRGgAdvCle/w+UfndWBmiyZZhVoDUESO48Yadau3BCP8VCYq55wLDLc8LQQyhnrRV3ksw==","signatures":[{"sig":"MEQCIAX6g1S9wXOub/CEbnb/J2CVRHDIKvDymfmPegsddcFBAiAF3zH6kpAzKEsVmnIdLTqrSF3+cYH+EZMkYAFBUbZ5cg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6713},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"0a67a5085799d65d524e5c779f78cb00f11efc4a","_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"repository":{"url":"git+https://github.com/CodeNet-pl/NodeJS.git"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.18.1","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_1.0.3_1749482307946_0.9494717875875864","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@code-net/logging","version":"1.0.4","_id":"@code-net/logging@1.0.4","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"homepage":"https://github.com/CodeNet-pl/NodeJS#readme","bugs":{"url":"https://github.com/CodeNet-pl/NodeJS/issues"},"dist":{"shasum":"e5de962b699577db2799fa47da3724415b075599","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-1.0.4.tgz","fileCount":17,"integrity":"sha512-yKMpOqZQKaJpxGZ+Jvg5AcYHKiMILYvfQmCnYMCWQM7//YjyEwdMjSVXr6lDtfGg/5kQC5CCb/VQG/HkSJEfZA==","signatures":[{"sig":"MEQCIHGqdXKy+6Ng7tQpT28b2A6a+JJ8zd95N0gGpHJH7hXDAiB4k3WlmZsNSJ/uYBj6U2TFd7p2Y8jRGYTIY/PPy0ewtQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9308},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"0a67a5085799d65d524e5c779f78cb00f11efc4a","_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"repository":{"url":"git+https://github.com/CodeNet-pl/NodeJS.git"},"_npmVersion":"10.8.2","description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","directories":{},"_nodeVersion":"20.18.1","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_1.0.4_1749484846408_0.7892104245797558","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@code-net/logging","version":"1.0.5","_id":"@code-net/logging@1.0.5","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"homepage":"https://github.com/CodeNet-pl/NodeJS#readme","bugs":{"url":"https://github.com/CodeNet-pl/NodeJS/issues"},"dist":{"shasum":"17296129aa0527e2dcb1ec190f6225c8e7bd8238","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-1.0.5.tgz","fileCount":17,"integrity":"sha512-z5mWJS+j+VOUuuBaSObzEzbKmBOluDOzEsUErdYxclNKNm2/T2lrSGmt/Jw1W22iROnnW83+TkXY+HEGXEhufg==","signatures":[{"sig":"MEQCIGUFJL1IYYzaQdCDz7nxuyqY5hU3ARbjLz6NVd9XIe7pAiBUmwZtoNcz4aPDoOmQ//PSoD7S5eD4EIG8pzvAE94ysA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9308},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"271304fd1998393265da155b66e2afcb78c96351","_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"repository":{"url":"git+https://github.com/CodeNet-pl/NodeJS.git"},"_npmVersion":"10.8.2","description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","directories":{},"_nodeVersion":"20.18.1","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_1.0.5_1749485727534_0.5995017613835025","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@code-net/logging","version":"1.1.0","_id":"@code-net/logging@1.1.0","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"homepage":"https://github.com/CodeNet-pl/NodeJS#readme","bugs":{"url":"https://github.com/CodeNet-pl/NodeJS/issues"},"dist":{"shasum":"04128910d1c0c2c8f1479410ebd303f6b8e5c6db","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-1.1.0.tgz","fileCount":17,"integrity":"sha512-3iyRGemo3GBZ3RUf841CS9bRywZF6k2fRFdfjXSo4Ws0rfwQ+VaH8M8NHRNF/LuXlKuOoi+URpD6+ra9sPRq6Q==","signatures":[{"sig":"MEYCIQDBaiaHWSRNuP6Q9Rg173LSgovSHzouaCig/MXscUHT3QIhAJKFzplcdf+O1P7fTfsLbm4JXyNpA1VmaWtlQVhSINES","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9308},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"ab8c56244086b0dbd231b5b6d4fb2cba198dec3a","_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"repository":{"url":"git+https://github.com/CodeNet-pl/NodeJS.git"},"_npmVersion":"10.8.2","description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","directories":{},"_nodeVersion":"20.18.1","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_1.1.0_1749486773758_0.15460585299956953","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@code-net/logging","version":"1.1.1","_id":"@code-net/logging@1.1.1","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"homepage":"https://github.com/CodeNet-pl/NodeJS#readme","bugs":{"url":"https://github.com/CodeNet-pl/NodeJS/issues"},"dist":{"shasum":"3dcf1b91266b26dc84c32f35a51170bee977b997","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-1.1.1.tgz","fileCount":17,"integrity":"sha512-8sCcWDbU0K9cGLjBzAR6VCz3f7jmlFFhWsT88JegzutwXQB9rck0bSRYO3Lyz/EkrroqhaNIVk9mw2/q2TbEkg==","signatures":[{"sig":"MEQCIGagS4ZfgZwypYgrDEBLu8MjdWrkZ1M5GuQFJhc4XczXAiBccvjtx1hC+/Vq0FNtJ1SpeZpmGJfw4tmXDTvY2CXrjQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9308},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"1fb9f8db8c228bd6ea8e5405fc79f387cb8021fb","_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"repository":{"url":"git+https://github.com/CodeNet-pl/NodeJS.git"},"_npmVersion":"10.8.2","description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","directories":{},"_nodeVersion":"20.18.1","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_1.1.1_1749581764565_0.1407652333155489","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@code-net/logging","version":"1.1.2","author":{"url":"https://dev.pasi.pl","name":"Bartosz Pasinski","email":"bartosz.pasinski@gmail.com"},"_id":"@code-net/logging@1.1.2","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"homepage":"https://github.com/CodeNet-pl/NodeJS#readme","bugs":{"url":"https://github.com/CodeNet-pl/NodeJS/issues"},"dist":{"shasum":"02c07218db52ee9e0cc8346c281dbf6466b4747d","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-1.1.2.tgz","fileCount":17,"integrity":"sha512-LizdObYRNIZjeLwEjAtb6Unxfd6d3UvweHw2K1k4x5h4K4qzC3i3HxM/Hfy+OMawuzpk6cduOkFdybyqNgZEBQ==","signatures":[{"sig":"MEUCIGumIlGuBL5vcpF6UKGEi3OrUuGlsYnh31s7D26u/J9sAiEAg7ySYQ1q4qTNgP3N6uslyH28DcPwx59DUnoC1zqzdWA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9434},"main":"./src/index.js","type":"commonjs","_from":"file:code-net-logging-1.1.2.tgz","types":"./src/index.d.ts","_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"_resolved":"/tmp/3581ad90a13d0cf9c7ae34f171ede25d/code-net-logging-1.1.2.tgz","_integrity":"sha512-LizdObYRNIZjeLwEjAtb6Unxfd6d3UvweHw2K1k4x5h4K4qzC3i3HxM/Hfy+OMawuzpk6cduOkFdybyqNgZEBQ==","repository":{"url":"git+https://github.com/CodeNet-pl/NodeJS.git"},"_npmVersion":"10.8.2","description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","directories":{},"_nodeVersion":"20.18.1","dependencies":{"tslib":"^2.3.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logging_1.1.2_1749888219469_0.4277437123351773","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@code-net/logging","version":"1.2.0","type":"commonjs","main":"./src/index.js","types":"./src/index.d.ts","license":"MIT","author":{"name":"Bartosz Pasinski","email":"b.pasinski@codenet.pl","url":"https://dev.pasi.pl"},"repository":{"url":"git+https://github.com/CodeNet-pl/NodeJS.git"},"typesVersions":{"*":{"pino":["./src/pino.d.ts"]}},"exports":{".":{"import":"./src/index.js","require":"./src/index.js","types":"./src/index.d.ts"},"./pino":{"import":"./src/pino.js","require":"./src/pino.js","types":"./src/pino.d.ts"}},"dependencies":{"tslib":"^2.3.0"},"peerDependencies":{"pino":">=8.0.0"},"peerDependenciesMeta":{"pino":{"optional":true}},"_id":"@code-net/logging@1.2.0","gitHead":"03584f47cc94f5b2c8b881e0bfec89cf288cbc71","description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","bugs":{"url":"https://github.com/CodeNet-pl/NodeJS/issues"},"homepage":"https://github.com/CodeNet-pl/NodeJS#readme","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-eZkTM0adNcXXonHcRHFoUPI9s/jm6dR2ctJJMHk5KSRmA5XuIuiw2g55isgQKMuCuiuZ+3RGWL6/LXdoob1n2A==","shasum":"d1e6d771f68eedf728c7f4a1e94c01a74b31ac54","tarball":"https://registry.npmjs.org/@code-net/logging/-/logging-1.2.0.tgz","fileCount":23,"unpackedSize":17324,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEAOTjHkB11TBiZl3KFNwuR70Op4B0Bi7Dgo1so/C1BzAiEA580CLp8xfn8B9izUM30AfVBDD9zMIY1YcJ9dfk7H28E="}]},"_npmUser":{"name":"pasi","email":"bartosz.pasinski@gmail.com"},"directories":{},"maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/logging_1.2.0_1765488021791_0.20703562180711876"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-12T18:05:46.597Z","modified":"2025-12-11T21:20:22.169Z","0.1.0":"2025-05-12T18:05:46.850Z","0.2.0":"2025-05-12T20:02:50.718Z","0.2.1":"2025-05-12T20:12:38.145Z","0.0.1":"2025-06-06T19:45:11.472Z","0.3.0":"2025-06-06T20:13:25.290Z","0.1.1":"2025-06-06T20:24:25.859Z","1.0.0":"2025-06-07T14:09:40.408Z","1.0.1":"2025-06-07T14:17:23.380Z","1.0.2":"2025-06-07T20:11:06.795Z","1.0.3":"2025-06-09T15:18:28.155Z","1.0.4":"2025-06-09T16:00:46.648Z","1.0.5":"2025-06-09T16:15:27.738Z","1.1.0":"2025-06-09T16:32:53.918Z","1.1.1":"2025-06-10T18:56:04.759Z","1.1.2":"2025-06-14T08:03:39.684Z","1.2.0":"2025-12-11T21:20:21.947Z"},"bugs":{"url":"https://github.com/CodeNet-pl/NodeJS/issues"},"homepage":"https://github.com/CodeNet-pl/NodeJS#readme","repository":{"url":"git+https://github.com/CodeNet-pl/NodeJS.git"},"description":"This package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the cho","maintainers":[{"name":"pasi","email":"bartosz.pasinski@gmail.com"}],"readme":"# Logger\n\nThis package provides a logging abstract class for applications. It defines a set of log levels and methods for logging messages at each level. The interface is designed to be implemented by different logging libraries, allowing for flexibility in the choice of logging backend.\n\nIt is based on PHP's [PSR-3](https://www.php-fig.org/psr/psr-3/) logging interface, which is a widely accepted standard for logging in PHP applications.\n\n```ts\nexport abstract class Logger {\n  /**\n   * Detailed debug information.\n   */\n  abstract debug(message: string, context?: LogContext): void;\n\n  /**\n   * Interesting events.\n   *\n   * Example: User logs in, SQL logs.\n   */\n  abstract info(message: string, context?: LogContext): void;\n\n  /**\n   * Normal but significant events.\n   */\n  abstract notice(message: string, context?: LogContext): void;\n\n  /**\n   * Exceptional occurrences that are not errors.\n   *\n   * Example: Use of deprecated APIs, poor use of an API, undesirable things\n   * that are not necessarily wrong.\n   */\n  abstract warning(message: string, context?: LogContext): void;\n\n  /**\n   * Runtime errors that do not require immediate action but should typically\n   * be logged and monitored.\n   */\n  abstract error(message: string, context?: LogContext): void;\n\n  /**\n   * Critical conditions.\n   *\n   * Example: Application component unavailable, unexpected exception.\n   */\n  abstract critical(message: string, context?: LogContext): void;\n\n  /**\n   * Action must be taken immediately.\n   *\n   * Example: Entire website down, database unavailable, etc. This should\n   * trigger the SMS alerts and wake you up.\n   */\n  abstract alert(message: string, context?: LogContext): void;\n\n  /**\n   * System is unusable.\n   */\n  abstract emergency(message: string, context?: LogContext): void;\n\n  /**\n   * Log a message with level given as an argument\n   */\n  abstract log(level: LogLevel, message: string, context?: LogContext): void;\n\n  /**\n   * Creates a child logger that will always add given context to all logs\n   */\n  abstract child(context: LogContext): Logger;\n}\n```\n\n## Implementations\n\n### Noop Logger\n\nThis package contains a mock implementation of the interface, which is useful for testing purposes.\n\n```ts\nimport { NoopLogger, Logger } from '@code-net/logging';\n\nconst logger: Logger = new NoopLogger();\nlogger.emergency('Hello world!') // Does nothing\n```\n\n### Pino\n\nTo use pino with this package wrap it with `PinoLogger`:\n\n```ts\nimport pino from 'pino';\nimport { PinoLogger, Logger } from '@code-net/logging';\n\nconst logger = new PinoLogger(pino());\n\nlogger.info('Hello world!', { userId: 123 });\n```\n\n### Global logger\n\nFor convenience, a global logger instance is provided that can be set and used throughout the application.\n\nSetup global logger before your application starts:\n\n```ts\nimport pino from 'pino';\nimport { setGlobalLogger } from '@code-net/logging';\nimport { PinoLogger } from '@code-net/logging';\n\nsetGlobalLogger(new PinoLogger(pino()));\n```\n\nUsage:\n\n```ts\nimport { logger } from '@code-net/logging';\nlogger.info('Hello world!', { userId: 123 });\n```\n\nBy default, the global logger is a `NoopLogger`.\n\n## License\n\nThis project is licensed under the terms of the MIT license.\n","readmeFilename":"README.md","author":{"name":"Bartosz Pasinski","email":"b.pasinski@codenet.pl","url":"https://dev.pasi.pl"},"license":"MIT"}