{"_id":"@dot/log","_rev":"3959858","name":"@dot/log","description":"A beautiful and minimal logger for all applications","dist-tags":{"latest":"0.2.0"},"maintainers":[{"name":"shellscape","email":""}],"time":{"modified":"2025-09-01T01:44:42.000Z","created":"2023-01-24T23:51:44.226Z","0.2.0":"2025-03-25T17:26:24.031Z","0.1.5":"2024-05-29T03:21:47.405Z","0.1.4":"2024-05-15T15:56:14.306Z","0.1.3":"2023-05-31T14:40:27.014Z","0.1.2":"2023-02-25T17:35:55.163Z","0.1.1":"2023-02-25T17:12:08.267Z","0.1.0":"2023-01-24T23:51:44.226Z"},"users":{},"author":{"name":"shellscape"},"repository":{"type":"git","url":"git+https://github.com/shellscape/dot.git"},"versions":{"0.2.0":{"name":"@dot/log","version":"0.2.0","publishConfig":{"access":"public"},"description":"A beautiful and minimal logger for all applications","license":"MPL-2.0","repository":{"type":"git","url":"git+https://github.com/shellscape/dot.git"},"author":{"name":"shellscape"},"homepage":"https://github.com/shellscape/dot","bugs":{"url":"https://github.com/shellscape/dot/issues"},"main":"dist/index.js","engines":{"node":">=18"},"dependencies":{"chalk":"^4.1.2","loglevelnext":"^6.0.0","p-defer":"^3.0.0"},"scripts":{"build":"pnpm -w package:build $PWD","coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root package:release $(pwd)","test":"FORCE_COLOR=2 ava"},"_id":"@dot/log@0.2.0","types":"./dist/index.d.ts","_integrity":"sha512-00Ns6dN9UE+3a4AeHCYW6cWGDHiASAawnUXDbd0sCaykgoOjhtNoTsQB49N2dlN7BcIshgs8qSiTePR6aUNdxA==","_resolved":"/tmp/7872fa66597208ee2aac0d372f2e4817/dot-log-0.2.0.tgz","_from":"file:dot-log-0.2.0.tgz","_nodeVersion":"18.20.7","_npmVersion":"10.8.2","dist":{"shasum":"5d8dad7081cbcaeee71de441e0fb12abd2411e27","size":9343,"noattachment":false,"key":"/@dot/log/-/@dot/log-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@dot/log/download/@dot/log-0.2.0.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/log_0.2.0_1742923583845_0.15804474072290842"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-25T17:26:24.031Z","publish_time":1742923584031,"_source_registry_name":"default","_cnpm_publish_time":1742923584031},"0.1.5":{"name":"@dot/log","version":"0.1.5","publishConfig":{"access":"public"},"description":"A beautiful and minimal logger for all applications","license":"MPL-2.0","repository":{"type":"git","url":"git+https://github.com/shellscape/dot.git"},"author":{"name":"shellscape"},"homepage":"https://github.com/shellscape/dot","bugs":{"url":"https://github.com/shellscape/dot/issues"},"main":"dist/index.js","engines":{"node":">=18"},"dependencies":{"chalk":"^4.1.2","loglevelnext":"^6.0.0","p-defer":"^3.0.0"},"scripts":{"build":"pnpm -w package:build $PWD","coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root package:release $(pwd)","test":"FORCE_COLOR=2 ava"},"_id":"@dot/log@0.1.5","types":"./dist/index.d.ts","_integrity":"sha512-ECraEVJWv2f2mWK93lYiefUkphStVlKD6yKDzisuoEmxuLKrxO9iGetHK2DoEAkj7sxjE886n0OUVVCUx0YPNg==","_resolved":"/tmp/904e075b9527ce78ff4b87bc4b6713d5/dot-log-0.1.5.tgz","_from":"file:dot-log-0.1.5.tgz","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"shasum":"29efc390a0edff47eed85a9553f3cebe45cf3d2f","size":8482,"noattachment":false,"key":"/@dot/log/-/@dot/log-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@dot/log/download/@dot/log-0.1.5.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log_0.1.5_1716952907240_0.5291544146681333"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-29T03:21:47.405Z","publish_time":1716952907405,"_source_registry_name":"default","_cnpm_publish_time":1716952907405},"0.1.4":{"name":"@dot/log","version":"0.1.4","publishConfig":{"access":"public"},"description":"A beautiful and minimal logger for all applications","license":"MPL-2.0","repository":{"type":"git","url":"git+https://github.com/shellscape/dot.git"},"author":{"name":"shellscape"},"homepage":"https://github.com/shellscape/dot","bugs":{"url":"https://github.com/shellscape/dot/issues"},"main":"dist/index.js","engines":{"node":">=18"},"dependencies":{"chalk":"^4.1.2","loglevelnext":"^5.0.6","p-defer":"^3.0.0"},"scripts":{"build":"pnpm -w package:build $PWD","coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root package:release $(pwd)","test":"FORCE_COLOR=2 ava"},"types":"./dist/index.d.ts","_id":"@dot/log@0.1.4","_integrity":"sha512-zymOZLqhkhJhEdU1/1odVaiTkkfMtAttpmm286yG55eReDsR43HQikJYgjv5qf4fUlE/TSKYdKFtBjkrLUjoIw==","_resolved":"/tmp/c9372aa6f6fb18a73ca5a307c7033da8/dot-log-0.1.4.tgz","_from":"file:dot-log-0.1.4.tgz","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"shasum":"7f5cc25c2d9f5d63f87e12c07e47f47a22b924c3","size":8400,"noattachment":false,"key":"/@dot/log/-/@dot/log-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@dot/log/download/@dot/log-0.1.4.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log_0.1.4_1715788574130_0.12756885500913673"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-15T15:56:14.306Z","publish_time":1715788574306,"_source_registry_name":"default","_cnpm_publish_time":1715788574306},"0.1.3":{"name":"@dot/log","version":"0.1.3","publishConfig":{"access":"public"},"description":"A beautiful and minimal logger for all applications","license":"MPL-2.0","repository":{"type":"git","url":"git+https://github.com/shellscape/dot.git"},"author":{"name":"shellscape"},"homepage":"https://github.com/shellscape/dot","bugs":{"url":"https://github.com/shellscape/dot/issues"},"main":"dist/index.js","engines":{"node":">=18"},"dependencies":{"chalk":"^4.1.2","loglevelnext":"^5.0.6","p-defer":"^3.0.0"},"scripts":{"build":"pnpm -w package:build $PWD","coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root package:release $npm_package_name","test":"FORCE_COLOR=2 ava"},"types":"./dist/index.d.ts","_id":"@dot/log@0.1.3","_integrity":"sha512-Gh6enQBMuD5zxI5Rz7lNY74PnlR6K0DvavOrrSuU4uhKsUf9BgJlHyFR5or5Uu3hK8xJyfmdf0cS7rDoFD3N/A==","_resolved":"/private/var/folders/07/ywbfgwc57_z4yx4m8vzhr8580000gp/T/b83efd7cf5b5a69e9e98019ae153713a/dot-log-0.1.3.tgz","_from":"file:dot-log-0.1.3.tgz","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"712f5f9c89e901222117865a7601c233eee71bcf","size":8335,"noattachment":false,"key":"/@dot/log/-/@dot/log-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@dot/log/download/@dot/log-0.1.3.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log_0.1.3_1685544026817_0.532518321210735"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-31T14:40:27.014Z","publish_time":1685544027014,"_source_registry_name":"default","_cnpm_publish_time":1685544027014},"0.1.2":{"name":"@dot/log","version":"0.1.2","publishConfig":{"access":"public"},"description":"A beautiful and minimal logger for all applications","license":"MPL-2.0","repository":{"type":"git","url":"git+https://github.com/shellscape/dot.git"},"author":{"name":"shellscape"},"homepage":"https://github.com/shellscape/dot","bugs":{"url":"https://github.com/shellscape/dot/issues"},"main":"dist/index.js","engines":{"node":">=18"},"dependencies":{"chalk":"^4.1.0","loglevelnext":"^5.0.6","p-defer":"^3.0.0"},"scripts":{"build":"pnpm -w package:build $PWD","coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root package:release $npm_package_name","test":"FORCE_COLOR=2 ava"},"types":"./dist/index.d.ts","_id":"@dot/log@0.1.2","_integrity":"sha512-BIPlleO61dllPq/JZ1llylidXvmi6s31lPvjJL2V+x+q8HJ7PSYivxiLH4Qtw00TbI64FCrHb/eC0UsVNOMiDA==","_resolved":"/private/var/folders/07/ywbfgwc57_z4yx4m8vzhr8580000gp/T/9c760b9efe031ef8c5d2d0cea87056e1/dot-log-0.1.2.tgz","_from":"file:dot-log-0.1.2.tgz","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"shasum":"48cb7bc9797d3242545942d69d719098f1a64792","size":8335,"noattachment":false,"key":"/@dot/log/-/@dot/log-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@dot/log/download/@dot/log-0.1.2.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log_0.1.2_1677346554925_0.9165312767052034"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-25T17:35:55.163Z","publish_time":1677346555163,"_cnpm_publish_time":1677346555163},"0.1.1":{"name":"@dot/log","version":"0.1.1","publishConfig":{"access":"public"},"description":"A beautiful and minimal logger for all applications","license":"MPL-2.0","repository":{"type":"git","url":"git+https://github.com/shellscape/dot.git"},"author":{"name":"shellscape"},"homepage":"https://github.com/shellscape/dot","bugs":{"url":"https://github.com/shellscape/dot/issues"},"main":"dist/index.js","engines":{"node":">=18"},"dependencies":{"chalk":"^4.1.0","loglevelnext":"^5.0.6","p-defer":"^3.0.0"},"scripts":{"build":"pnpm -w package:build $PWD","coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root package:release $npm_package_name","test":"FORCE_COLOR=2 ava"},"types":"./dist/index.d.ts","_id":"@dot/log@0.1.1","_integrity":"sha512-NPqikIVBWeOrByeZ+Ue15snAb972JwphWag+PzTE+msi3dbS8eD/jskDYqodQYYcqglAt4I5baH5MOTwfMkjXg==","_resolved":"/private/var/folders/07/ywbfgwc57_z4yx4m8vzhr8580000gp/T/5cd56e8e994b7758a338dca73b7d8a9d/dot-log-0.1.1.tgz","_from":"file:dot-log-0.1.1.tgz","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"shasum":"26a7d7e2725a77985563a0afc9612e8f6a2aaa42","size":8334,"noattachment":false,"key":"/@dot/log/-/@dot/log-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@dot/log/download/@dot/log-0.1.1.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log_0.1.1_1677345127979_0.6965306144538443"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-25T17:12:08.267Z","publish_time":1677345128267,"_cnpm_publish_time":1677345128267},"0.1.0":{"name":"@dot/log","version":"0.1.0","publishConfig":{"access":"public"},"description":"A beautiful and minimal logger for all applications","license":"MPL-2.0","repository":{"type":"git","url":"git+https://github.com/shellscape/dot.git"},"author":{"name":"shellscape"},"homepage":"https://github.com/shellscape/dot","bugs":{"url":"https://github.com/shellscape/dot/issues"},"main":"dist/index.js","engines":{"node":">=18"},"dependencies":{"chalk":"^4.1.0","loglevelnext":"^5.0.6","p-defer":"^3.0.0"},"scripts":{"build":"pnpm -w package:build $PWD","coverage":"nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov","prerelease":"pnpm build","pretest":"pnpm build","release":"pnpm --workspace-root package:release $npm_package_name","test":"FORCE_COLOR=2 ava"},"types":"./dist/index.d.ts","_id":"@dot/log@0.1.0","_integrity":"sha512-VprVQOucvMEEf20/vEocT8IixCbGd6qltd58oPPDDgDcwIbJet5Jy0XKSpgOlYibbqvJrAfsNEEZhRLPDtwO/w==","_resolved":"/private/var/folders/07/ywbfgwc57_z4yx4m8vzhr8580000gp/T/a636459a7ea61c370b9ffa7d084d64ea/dot-log-0.1.0.tgz","_from":"file:dot-log-0.1.0.tgz","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"shasum":"e2d2c7e97430382f04ceb27e5a7c4e7e078e6eca","size":8344,"noattachment":false,"key":"/@dot/log/-/@dot/log-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@dot/log/download/@dot/log-0.1.0.tgz"},"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"maintainers":[{"name":"shellscape","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log_0.1.0_1674604304058_0.3346878243893394"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-24T23:51:44.226Z","publish_time":1674604304226,"_cnpm_publish_time":1674604304226}},"readme":"# @dot/log\n\nA beautiful and minimal logger for all applications\n\n## Requirements\n\nThis package requires an [Active LTS](https://github.com/nodejs/Release) Node version (v18+).\n\n## Install\n\nUsing npm:\n\n```console\nnpm install @dot/log --save\n```\n\n## Usage\n\nCreate a new logger and use it to log something wild:\n\n```js\nimport { log } from '@dot/log';\n\nlog.info('Jingle Bells, Batman Smells');\nlog.warn('Robin laid an egg');\nlog.error('The Batmobile lost a wheel');\nlog.debug('And the Joker got away');\n```\n\nAnd there will appear magic in your console\n\nTo name the log pass the name in the getLog options:\n\n```\nconst log = getLog({ name: 'batman' });\n```\n\nWhen logging an object the nesting can be only one level deep.\nIf the nesting level of the object exceeds one level then a RangeError exception will be thrown.\n\n### Setting the Log Level\n\nBy default, each log instance is set to the `'info'` level. The log level can be set one of two ways:\n\n1. By direct manipulation of the log itself, which can be useful for one-off log instances:\n\n```ts\nimport { log } from '@dot/log';\n\nlog.level = 'debug'; // change from the default 'info' level\n```\n\n2. Using an the `DOT_LOG_LEVEL` environment variable:\n\n```env\nDOT_LOG_LEVEL=debug\n```\n\n## Meta\n\n[CONTRIBUTING](../.github/CONTRIBUTING.md)\n\n[LICENSE (Mozilla Public License)](./LICENSE)\n","_attachments":{},"homepage":"https://github.com/shellscape/dot","bugs":{"url":"https://github.com/shellscape/dot/issues"},"license":"MPL-2.0"}