{"_id":"@bebrasmell/mono-logger","_rev":"18-cc4a863b0b3f7c42d177a6a312b6c0e1","name":"@bebrasmell/mono-logger","dist-tags":{"latest":"1.5.4"},"versions":{"1.0.0":{"name":"@bebrasmell/mono-logger","version":"1.0.0","author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.0.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://github.com/bebrasmell/mono-logger#readme","bugs":{"url":"https://github.com/bebrasmell/mono-logger/issues"},"dist":{"shasum":"3ad82de640338742e464c9308bbfad5e43d984a5","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.0.0.tgz","fileCount":22,"integrity":"sha512-E8c0p6km7lqkxIt7k0DdfrFExs/IwpVHPocTSmZFsuT6VCfGPmO6zbwoCzIbpJesn/4ybROxoLPnZN2DNqATXQ==","signatures":[{"sig":"MEYCIQDw7we7yVxMJ1u4EtsVnSie78o64yA9Lg0bwuTnzqHOAwIhAKcFZYLcJ2rTqwxyS6YskUoLpGsvtIU7eSaBkeKrZwHZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":120519},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"997bb2fd3a8d43667a41a9f4729fc62aa9c67dfa","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"git+https://github.com/bebrasmell/mono-logger.git","type":"git"},"_npmVersion":"10.1.0","description":"A simple logger module with topics and side-effects capabilities. It comes pretty useful when need to share common loggers across multiple modules or to nest loggers with different topics (e.g. function executors for debugging purposes).","directories":{},"_nodeVersion":"20.11.1","dependencies":{"chalk":"^5.3.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.0.0_1722024648037_0.8025431805094099","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.1.0":{"name":"@bebrasmell/mono-logger","version":"1.1.0","author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.1.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://github.com/bebrasmell/mono-logger#readme","bugs":{"url":"https://github.com/bebrasmell/mono-logger/issues"},"dist":{"shasum":"6abaebe1cb66351d2906b7caa98f3461a40cfa6f","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.1.0.tgz","fileCount":22,"integrity":"sha512-0halQjIiCnNWWrpq3a4iTHDe9jOH5wjY2reNidGhwLLhT5AKvyeAFM22t09BTlp9KrS8LVyUtdFHHeCu0sRoMQ==","signatures":[{"sig":"MEYCIQDzgq8TFtv5h7c9SzDhyxG1efum6PrujKUpWX9Hc3JAFgIhAJ4EP2JdMffc6Ixtn+D3ihPG7tqfm48pykWgAOyGt/6V","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":120442},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"997bb2fd3a8d43667a41a9f4729fc62aa9c67dfa","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"git+https://github.com/bebrasmell/mono-logger.git","type":"git"},"_npmVersion":"10.1.0","description":"A simple logger module with topics and side-effects capabilities. It comes pretty useful when need to share common loggers across multiple modules or to nest loggers with different topics (e.g. function executors for debugging purposes).","directories":{},"_nodeVersion":"20.11.1","dependencies":{"chalk":"^5.3.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.1.0_1722031375886_0.405723243235409","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.1.1":{"name":"@bebrasmell/mono-logger","version":"1.1.1","author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.1.1","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"c23ed381891454817dad36d8d6bba212e9ba675b","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.1.1.tgz","fileCount":21,"integrity":"sha512-BF7I11zOqU0EJ6DsanCrvuGQB+5rx6cANnpk0tU6nijS6XTBJNRzB7Ybu4ut7vPPA+XkzQzOss1M3uKMmzbAyA==","signatures":[{"sig":"MEUCIFrYGNEtRcG0YWjkVeDaD8UwNvY6dAhKBgMVQ/AUC81mAiEAo6fZ1wNUCBuA1FOWAsbW+azbRJm5/4N2l+Z7h/G1UzA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35490},"main":"dist/index.js","type":"module","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple logger module with topics and side-effects capabilities. It comes pretty useful when need to share common loggers across multiple modules or to nest loggers with different topics (e.g. function executors for debugging purposes).","directories":{},"dependencies":{"chalk":"^5.3.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.1.1_1722079678810_0.9165748189888123","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.2.0":{"name":"@bebrasmell/mono-logger","version":"1.2.0","author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.2.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"798f86657c7869b76fee3c4483870065a97920a3","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.2.0.tgz","fileCount":24,"integrity":"sha512-Vftpp3SlWKk25xww06Nm5vkSyqBwV+rbpTc7B/J+gJQ4wD0f12TRv8n2HwSIGHipAqiw5nOTReS5Vt+pRI8rGA==","signatures":[{"sig":"MEUCIQCvTV5ek7dJUen1qe9w1KnJpu4X0gihS1L0klEuSZMnigIgfIQMi0Jqvby6GzpdbNCyUvmeA4kcz+sIQRk8xOhVtyI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36921},"main":"dist/index.js","type":"module","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple logger module with topics and side-effects capabilities. It comes pretty useful when need to share common loggers across multiple modules or to nest loggers with different topics (e.g. function executors for debugging purposes).","directories":{},"dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.2.0_1722081893585_0.5249826711855254","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.3.0":{"name":"@bebrasmell/mono-logger","version":"1.3.0","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.3.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"01b7ff1469a892dc1a18e994052c9ff477072dd7","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.3.0.tgz","fileCount":24,"integrity":"sha512-R3GK8O7lTWSVve0N/765tiD0D3K+rj8vvWHhz+PKSlB3UXMRGhWjkxArCteTZL9ciyzugWsW7nilJTIZnKdSjw==","signatures":[{"sig":"MEQCIEYLaUBmVIftyD6Wth/8wT3suOUmPeObg5PISj7iEHnuAiBgfpENRZGyRHRwbuLmgPErTM2WEWCIF8JBbdpP3oTPPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37084},"main":"dist/index.js","type":"module","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.3.0_1722083245104_0.1765476559673922","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.4.0":{"name":"@bebrasmell/mono-logger","version":"1.4.0","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.4.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"a550313f6fe654f40f92cd29e9e301eaeb172aff","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.4.0.tgz","fileCount":30,"integrity":"sha512-BdkQqPdvmyYFkVH+cH+PSk2sbApbJy8sqo1+ZwzLD8IHYR67D8AYCuxXj0yLRfg0kBK5Ieq5E2TsKhvZeQvJ5A==","signatures":[{"sig":"MEUCIDkxn/rYS0yKCJSHc2Ekbqci7MT86w6rCk893NpD97ecAiEAycF7+L+Z/JNlojBDOlDoYtITC4hzZKOQbtgKI2yrNlQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":183974},"main":"dist/index.js","type":"module","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.4.0_1722166843707_0.4081930224535124","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.4.1":{"name":"@bebrasmell/mono-logger","version":"1.4.1","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.4.1","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"627a581a68f2cbed2b1512e09c9fd6e9e357fdf8","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.4.1.tgz","fileCount":31,"integrity":"sha512-bfanr+EldtegfiGGNZUeqcjRXtBYSm3IlVs4jWWST8UUNC2l+z8yuP8U745etcUBZVz/OgC8lH7i6hWFwXN7rw==","signatures":[{"sig":"MEUCIQDAc/rRjlnt9H4SyW17nwO8bFxYBbiC4DPo4j61pXtqiQIga4Wih1386C5YEvy8RD/sU1/ayauQ8cxE/Z7zV8FxMWc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50381},"main":"dist/index.js","type":"module","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.2.3","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.4.1_1722169248330_0.7764437408061919","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.4.2":{"name":"@bebrasmell/mono-logger","version":"1.4.2","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.4.2","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"7787e2764d7f4a7986ecab6b5eb89a6d9491e53e","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.4.2.tgz","fileCount":31,"integrity":"sha512-qZ+vQ6N+GMjp2rSLST+A3XHyN5O8GZhWm22DNlzQXKHzDH2X5gz8H2LElCqy9H1YDOXBuNeI0Yy6IKUv5raU3w==","signatures":[{"sig":"MEYCIQCsJP2L+MWGUmXnLMvHDd2niBtgl9fPHd/1y3vQueporAIhAKiVmr4ywJdKzyZR6Wj5+4rV7XUyyJ5dwKM9wNVtLKfZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50463},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.2.3","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.4.2_1722169475727_0.7021512670210686","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.4.3":{"name":"@bebrasmell/mono-logger","version":"1.4.3","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.4.3","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"69a86bdd28c1b93fae3ef367e80f27693c151694","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.4.3.tgz","fileCount":29,"integrity":"sha512-al0xcigeOKlMWCXOYIxProbJfSQxLiNdRJ7oVCNJly7sIhyIE8Sr4mG/TlS76UV7DoM2pLnS3yeYneK6Ufb5zQ==","signatures":[{"sig":"MEUCIQDQ3NKybI8nJd501Ufl/RlNUXIJ8esdlebcx2JncJ/XawIgPtAUndIfxrzYKeFQJxtKxmLq/EdZ1rIGSAc2LguH8CY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44479},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.2.3","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.4.3_1722170205339_0.48599744901930664","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.4.4":{"name":"@bebrasmell/mono-logger","version":"1.4.4","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.4.4","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"142af04480886a3066aaa025cb0bbc7da9658ee7","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.4.4.tgz","fileCount":29,"integrity":"sha512-KxrrT08ID9KJ4YMr9AwrZ9YDTUhOwwbFDx1WUutho20FwpV/nv+hjzyNewmz6c5j/quxznE9L8ARFLAW0Fr3gQ==","signatures":[{"sig":"MEUCIQCBe/0KcxKYDZJJkj+Gl34AU6DBueS/VU+OxW63cq03rgIgQhQwxXw3zofH2CvAcqAxoeoMR0scUbQ86kt1/LlSF4M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44500},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.2.3","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.4.4_1722170551884_0.06744673300902249","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.4.5":{"name":"@bebrasmell/mono-logger","version":"1.4.5","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.4.5","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"5887d17ab5030e61b3a1e2db9651de0c5db4a8fb","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.4.5.tgz","fileCount":29,"integrity":"sha512-r8P6sSNQvN229e69uOBPObE4V2fm+VgUxsKMyqtVJ48RhbadtZBLp/DGYrzmlrGvfKKWwmV6YsalUSOEFWWNzA==","signatures":[{"sig":"MEYCIQCjDBCWo3n8GYIaBYNc9Dt4qQtv54zoSNqS0jxZ2526bgIhAIsAO6v7PhkBMiNwXk9B/fwUxcTapLxVpu+dTztSP+k6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44523},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.2.3","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.4.5_1722170968559_0.18222235708028856","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.4.6":{"name":"@bebrasmell/mono-logger","version":"1.4.6","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.4.6","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"9a38d9844b2b34074bd2338f58355702e6c014cb","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.4.6.tgz","fileCount":31,"integrity":"sha512-Q/xnYOtt28UZK0F9kqco5dHGXmgW1lLNGIrJbZFmbGAaxRs8Xnj6vnMLi0BpiyKsFHKCizkYHmrjWR6gSDKuYw==","signatures":[{"sig":"MEUCIQDlq1AO2kiCb7MYU30k4xig/pDeAe0ruxLeifPnRvpMkQIgbvFvALB2QzsH6H16Jo+jey5WZdaztVTKso9TYjBRN+g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50694},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"typings":"dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.2.3","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.4.6_1722171135186_0.7905401531263214","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.4.7":{"name":"@bebrasmell/mono-logger","version":"1.4.7","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.4.7","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"de294487db969308f59816bc20b332f2bd5c8a6c","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.4.7.tgz","fileCount":13,"integrity":"sha512-wXK7SocwuWrrsPvQX6JLknM7Jjvv4+CO54ALlpHQagrSHDqw5Qa6zZmtwkSUhq6YERIbbmSgSZIC5r44EilmZw==","signatures":[{"sig":"MEQCIDV0UL89fL7ceSOj8h8D84tCUbfxmDEg8QynetO0UV7ZAiBUXjxKo6tyY0QQ56pDaseTlxCPQy3CRuUjGG3NW1npsA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73599},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.2.3","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.4.7_1722171684621_0.8226433808320355","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.5.0":{"name":"@bebrasmell/mono-logger","version":"1.5.0","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.5.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"62d3173c3bfadd5ec34c27c643cfef2f2eb3971d","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.5.0.tgz","fileCount":13,"integrity":"sha512-u33XdsDMW8ir3MOV32r8RysL4Wi07mWRRco5u+0vAVz3WB664YsPb+omAZBOfddh3RfwLO+FxJymx9dYN22JKw==","signatures":[{"sig":"MEYCIQD20AXw0jyqqphYlHOgRvcrRkLPytCbHIeuX2qzO6dAWwIhAM3Om8oL7fIvXLLFHQnMzKYVAh6L4T0yZNu7iGw86wwH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74403},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.2.3","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.5.0_1722175315104_0.15218973500040422","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.5.1":{"name":"@bebrasmell/mono-logger","version":"1.5.1","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.5.1","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"88e8d269717e184864368bb57ea73da2c2ed7044","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.5.1.tgz","fileCount":13,"integrity":"sha512-ODQn3ZHnskdBXnBCCydze4vdRUFyRf9GHbBQzZaC6InSwQrLehfqWiwBsguROjE5/Tz7Ju/p/Q31si1itBH3Bw==","signatures":[{"sig":"MEUCIQC3j6g2AVaHk0AJ9PNFwqGzMfWKx29/i1eISZSeQgVk4QIgI1F9wr4vnSdih4HS43yn1uhPyTeYkGemnlzhW+gV/wk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74447},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.2.3","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.5.1_1722176278796_0.5451106424811933","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.5.2":{"name":"@bebrasmell/mono-logger","version":"1.5.2","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.5.2","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"af3ae8560208d49feb2322c63efb57ad9370cf4b","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.5.2.tgz","fileCount":13,"integrity":"sha512-VaS9SCQWob9xJh5kJJ+LlAufkMZTa0uSJOsWcaBrALqXrr+EUG32vnUolCE8wQiLenc65zdTIxjouzAv5wr5IQ==","signatures":[{"sig":"MEYCIQDN7pIHYhR+/Ih01rxlZNXGAqrkiVezL+uTF7cfikklUgIhAPBdI6qu+0xNQtGSZilpfhZ1efkG/rhB6cAM+gdamNjs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74628},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.2.3","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.5.2_1722176414214_0.0736956541358611","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.5.3":{"name":"@bebrasmell/mono-logger","version":"1.5.3","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.5.3","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"6ddfc36a7c44f0f8a680e2c5b5bc31340ac3e6a5","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.5.3.tgz","fileCount":13,"integrity":"sha512-fv+e0KZdh9deo6romX/xJ5OPHnB0s6NJmtvsvFGfd11VDbdwH2JNeBe6uM93Hm+Ed/dDLqM8K68uhi0OMHcCgQ==","signatures":[{"sig":"MEUCIFasdGpOabeJcKa7uXohQN7C7SB2i2mjf8Glendkx2VCAiEA49z/tIW9TtJMQoPYz2lN/r3VyaDnrZ1HK5NrbupyFVs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76686},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.2.3","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.5.3_1722181481647_0.28635614440590684","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."},"1.5.4":{"name":"@bebrasmell/mono-logger","version":"1.5.4","keywords":["logs","logger","console","topic"],"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","_id":"@bebrasmell/mono-logger@1.5.4","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"dist":{"shasum":"9cfe8dcbeda26aff4727d34f238a5061553c2dec","tarball":"https://registry.npmjs.org/@bebrasmell/mono-logger/-/mono-logger-1.5.4.tgz","fileCount":13,"integrity":"sha512-NETm/XgvOh1BaogKGY07g/f+8AoZUYg7OlgUSd+L8T4thGwihlu1TWQgmp0H/RBKd3T/QxKD5CpMRYXgsuK0VQ==","signatures":[{"sig":"MEUCIHPsg2ZFxrnOlnNG5lHL8peAKgpxgTcOIa4hTf045litAiEAnWuQaMgXTAMejSt2veCRaZCbR+0GeA++vr/4Qn8IRiE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76877},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","directories":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.2.3","@swc/core":"^1.7.2","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/mono-logger_1.5.4_1722200575931_0.3918731810274465","host":"s3://npm-registry-packages"},"deprecated":"Please use @zodyac/mono-logger instead."}},"time":{"created":"2024-07-26T20:10:47.927Z","modified":"2024-09-15T19:58:01.863Z","1.0.0":"2024-07-26T20:10:48.240Z","1.1.0":"2024-07-26T22:02:56.049Z","1.1.1":"2024-07-27T11:27:59.052Z","1.2.0":"2024-07-27T12:04:53.766Z","1.3.0":"2024-07-27T12:27:25.286Z","1.4.0":"2024-07-28T11:40:43.865Z","1.4.1":"2024-07-28T12:20:48.500Z","1.4.2":"2024-07-28T12:24:36.006Z","1.4.3":"2024-07-28T12:36:45.536Z","1.4.4":"2024-07-28T12:42:32.081Z","1.4.5":"2024-07-28T12:49:28.768Z","1.4.6":"2024-07-28T12:52:15.382Z","1.4.7":"2024-07-28T13:01:24.883Z","1.5.0":"2024-07-28T14:01:55.268Z","1.5.1":"2024-07-28T14:17:58.952Z","1.5.2":"2024-07-28T14:20:14.396Z","1.5.3":"2024-07-28T15:44:41.877Z","1.5.4":"2024-07-28T21:02:56.091Z"},"author":{"name":"Zak","email":"137602160+bebrasmell@users.noreply.github.com"},"license":"MIT","keywords":["logs","logger","console","topic"],"repository":{"url":"https://github.com/bebrasmell/mono-logger.git","type":"git"},"description":"A simple topic-based logger with side effects","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"readme":"# Mono-logger\n\nA simple logger module with topics and side-effects capabilities.\nIt comes pretty useful when need to share common loggers across multiple modules or to nest loggers with different topics (e.g. function executors for debugging purposes).\n\nDefault logs format:\n```log\n7/26/2024, 20:54:26 [DBG] hello, world\n```\n\n## Changelog\nPlease see [CHANGELOG](./CHANGELOG.md) for latest changes.\n\n## Installation\n```bash\nyarn add @bebrasmell/mono-logger\n```\n\nOr\n\n```bash\nnpm i @bebrasmell/mono-logger\n```\n\n## Topics\nYou can create a new child logger with a specific topic. This way you can filter logs by topic.\n\n```typescript\nimport { Logger } from '@bebrasmell/mono-logger';\n\nconst logger = new Logger();\nconst subLogger = logger.topic('sub-topic');\nconst deepSubLogger = subLogger.topic('deep-sub-topic');\n\ndeepSubLogger.log('hello, world');\n\n// Output:\n// 7/26/2024, 21:11:09 [DBG] sub-topic:deep-sub-topic hello, world\n```\n\nYou can also access parent logger from a child logger.\n\n```typescript\nimport { Logger } from '@bebrasmell/mono-logger';\n\nconst logger = new Logger();\nconst subLogger = logger.topic('sub-topic');\nconst deepSubLogger = subLogger.topic('deep-sub-topic');\n\ndeepSubLogger._parent?.log('hello, world');\n\n// Output:\n// 7/26/2024, 21:11:09 [DBG] sub-topic hello, world\n```\n\n## Configuration\nConfiguration can be set for the root logger or specific topic and its descendants. It means, that topic configuration will be inherited from it's parent. When you provide options for a new topic, it's going to override its parent configuration entirely.\n\nExample:\n```typescript\nconst root_logger = new Logger(\"root\", {\n    level: \"info\",\n});\n\nconst sub_logger = root_logger.topic(\"leaf\", {});\n\nsub_logger.debug(\"I am still here!\");\n// Output:\n// 7/26/2024, 21:11:09 [DBG] root:leaf I am still here!\n```\n\nYou can configure the logger with:\n- ```level```: (e.g. debug) The minimum log level to be displayed.\n- ```prefix```: (function) A prefix to be added to each log record before topics.\n- ```date_format```: (function) The date formatter function to be used in logs.\n- ```effect```: (function) A side-effect function to be called on each log record. It receives log level, list of topics and spread raw data array passed to logger.\n- ```transform```: (function) A function to transform log records before being displayed.\n- ```force_effect```: (boolean) If true, side-effects will be called even if log level is below the minimum level.\n\n\n```typescript\nimport { Logger } from '@bebrasmell/mono-logger';\n\nconst ex_logger = new Logger('example', {\n  level: 'debug',\n  prefix: () => 'my-app',\n  date_format: (date) => date.toISOString(),\n  effect: (level, topics, ...data) => console.log(level, topics, ...data),\n  transform: (m) => `yes, ${m}`,\n  force_effect: true,\n});\n\nex_logger.log('hello', 'world');\n\n// Output:\n// 2024-07-26T18:47:01.978Z [DBG] my-app example yes, hello yes, world\n// debug [ 'example' ] hello world\n```\n\n## Side effects\nYou can assign any side effect you want to any topic and it's descendants (see Configuration). So each time you log something, the logger fires the ```effect``` function with parameters:\n- ```level``` - log level\n- ```topics``` (array, root to leaf)\n- ```...raw``` data you passed to logger\n\nBy default, when you log something below the minimum log level specified in Topic Configuration, ```effect``` is not fired. You can force logger to fire it by passing ```force_effect```.\n\n### Inheritance\nBy default, every child logger will inherit configuration from it's parent, but if you'd like to customize a specific parameter, you can access parent's configuration as a readonly object:\n\n```ts\nconst parent = logger.topic(\"parent\", {\n  /* ... */\n});\n\nconst child = root.topic(\"child\", {\n  ...parent._config,\n  effect: () => { /* do something else */ },\n});\n```\n\n> ![note] You should not modify or override existing configuration.\nThat is done on purpose to preserve verbosity and functional consistency.\n\n### MonoEffects and PolyEffects\n```MonoEffect``` is a wrapper around your effect function with minimum log level check. Imagine this:\n- Some module has a topic that is logged with ```info``` level;\n- There's a need to explicitly process all the ```warn```, ```error``` and ```fatal``` logs that are generated by the module;\n- You create an **effect** and attach it to the topic logger;\n\nIn such situations, you can use ```MonoEffect```:\n```ts\nimport { MonoEffect } from \"@bebrasmell/mono-logger\";\n\nconst handleWarnings = (lvl, topics, ...messages) => {\n  /*\n   * ...\n   * your custom warn, error and fatal handler\n   * ...\n   */\n  console.warn(\"Warning has been recorded and saved\");\n};\n\nconst warnings_effect = new MonoEffect(handleWarnings, \"warn\");\n\nconst logger = root_logger.topic(\"target_module_name\", {\n  level: \"info\",\n  effect: warnings_effect,\n});\n\nlogger.warn(\"Example warning\");\n\n// Output:\n// 2024-07-26T18:47:01.978Z [WRN] target_module_name Example warning\n// Warning has been recorded and saved\n```\n\n```PolyEffect``` simply concatenates your effects and fires them one after another.\n\n```ts\nimport { MonoEffect, PolyEffect } from \"@bebrasmell/mono-logger\";\n\nconst handleWarnings = (lvl, topics, ...messages) => {\n  /*\n   * ...\n   * your custom warn, error and fatal handler\n   * ...\n   */\n  console.warn(\"Warning has been recorded and saved\");\n};\n\nconst handleFatal = (lvl, topics, ...messages) => {\n  /*\n   * ...\n   * your custom fatal handler\n   * ...\n   */\n  console.error(\"x_x\");\n};\n\nconst warnings_effect = new MonoEffect(handleWarnings, \"warn\");\nconst fatal_effect = new MonoEffect(handleFatal, \"fatal\");\nconst poly_effect = new PolyEffect();\n\npoly_effect.add(warnings_effect);\npoly_effect.add(fatal_effect);\n\nconst logger = root_logger.topic(\"target_module_name\", {\n  level: \"info\",\n  effect: poly_effect,\n});\n\nlogger.warn(\"Example warning\");\nlogger.fatal(\"Nope, I'm dead\");\n\n// Output:\n// 2024-07-26T18:47:01.978Z [WRN] target_module_name Example warning\n// Warning has been recorded and saved\n// 2024-07-26T18:47:01.978Z [FTL] target_module_name Nope, I'm dead\n// Warning has been recorded and saved\n// x_x\n```\n\nYou can use ```PolyEffect``` to execute both parent and current effects. This will allow you to bypass the configuration inheritance limitation:\n\n```ts\nconst poly_effect = new PolyEffect();\nif (parent._config.effect) poly_effect.add(parent._config.effect);\npoly_effect.add(() => { /* New effect */ });\n\nconst child = parent.topic(\"child\", {\n  ...parent._config,\n  effect: poly_effect,\n});\n```\n\n## License\nMIT\n","readmeFilename":"README.md"}