{"_id":"@ashtrindade/logger","_rev":"9-bd4ecfb2aa1206cbdbb1a23d6d7da01c","time":{"created":"2024-04-01T18:26:40.418Z","1.0.0":"2024-04-01T18:10:10.122Z","modified":"2024-04-11T01:36:11.501Z","1.0.1":"2024-04-01T18:26:40.661Z","1.0.2":"2024-04-01T18:34:40.147Z","1.0.3":"2024-04-01T18:53:23.196Z","1.0.4":"2024-04-01T18:55:40.299Z","1.0.5":"2024-04-01T18:57:32.152Z","1.0.6":"2024-04-09T23:29:46.272Z","2.0.0":"2024-04-11T01:36:11.338Z"},"name":"@ashtrindade/logger","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.1":{"name":"@ashtrindade/logger","version":"1.0.1","description":"Node.js logger with dynamic log levels","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest --verbose ./test","test:coverage":"jest --verbose ./test/ --coverage","build":"tsc","lint":"npx eslint . --fix","reset":"rm -rf node_modules && rm package-lock.json && npm install","clear:build":"rm -rf dist","clear:coverage":"rm -rf coverage","prepare":"husky install","help":"bash scripts/scripts-list.sh"},"repository":{"type":"git","url":"git+https://github.com/ashtrindade/logger.git"},"author":{"name":"Ash Trindade"},"license":"MIT","bugs":{"url":"https://github.com/ashtrindade/logger/issues"},"homepage":"https://github.com/ashtrindade/logger#readme","publishConfig":{"registry":"https://npm.pkg.github.com"},"devDependencies":{"@types/jest":"29.5.11","@types/node":"20.10.4","@typescript-eslint/eslint-plugin":"6.13.2","@typescript-eslint/parser":"6.13.2","eslint":"8.55.0","husky":"8.0.3","jest":"29.7.0","ts-jest":"29.1.1","ts-node":"10.9.2","tsconfig-paths":"4.2.0","typescript":"5.3.3"},"directories":{"test":"test"},"_id":"@ashtrindade/logger@1.0.1","gitHead":"b81c8333b1388cfb98efcad00acc4498d09d64ca","_nodeVersion":"20.10.0","_npmVersion":"10.2.5","dist":{"integrity":"sha512-i5Oqm2koDQyjpsdjMu7cus0Euzc0nFWiIGdNU2nHwdDLI+oxkvGRKXb42ge9PNDSWRKj9Rh5HlPnT7eso5XsQw==","shasum":"e80bf8216da91a053c4cefc831479d7c38839b0c","tarball":"https://registry.npmjs.org/@ashtrindade/logger/-/logger-1.0.1.tgz","fileCount":19,"unpackedSize":23767,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMraFmlrICE2N98vOSxE1CzgSL+PE+0ZxfMgoImH6lXAiBZhHQhQnuoYZZMLyYhJPdjmVA/JaWuPjW46XbpuSV/TA=="}]},"_npmUser":{"name":"ashtrindade","email":"ashtrindade5@gmail.com"},"maintainers":[{"name":"ashtrindade","email":"ashtrindade5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logger_1.0.1_1711996000520_0.9406903092215118"},"_hasShrinkwrap":false},"1.0.2":{"name":"@ashtrindade/logger","version":"1.0.2","description":"Node.js logger with dynamic log levels","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest --verbose ./test","test:coverage":"jest --verbose ./test/ --coverage","build":"tsc","lint":"npx eslint . --fix","reset":"rm -rf node_modules && rm package-lock.json && npm install","clear:build":"rm -rf dist","clear:coverage":"rm -rf coverage","prepare":"husky install","help":"bash scripts/scripts-list.sh"},"repository":{"type":"git","url":"git+https://github.com/ashtrindade/logger.git"},"author":{"name":"Ash Trindade"},"license":"MIT","bugs":{"url":"https://github.com/ashtrindade/logger/issues"},"homepage":"https://github.com/ashtrindade/logger#readme","publishConfig":{"registry":"https://npm.pkg.github.com"},"devDependencies":{"@types/jest":"29.5.11","@types/node":"20.10.4","@typescript-eslint/eslint-plugin":"6.13.2","@typescript-eslint/parser":"6.13.2","eslint":"8.55.0","husky":"8.0.3","jest":"29.7.0","ts-jest":"29.1.1","ts-node":"10.9.2","tsconfig-paths":"4.2.0","typescript":"5.3.3"},"directories":{"test":"test"},"_id":"@ashtrindade/logger@1.0.2","gitHead":"b81c8333b1388cfb98efcad00acc4498d09d64ca","_nodeVersion":"20.10.0","_npmVersion":"10.2.5","dist":{"integrity":"sha512-XPQxCvwJwgRkKUgegd/jxlbRfGmqqfKqalcYnv/kyUk0C2BDSDWwxXC76R8IEI3og4eHR47vNBZgg1glU42JlQ==","shasum":"81fe893d813a6e73de765f9f886da30d8045b746","tarball":"https://registry.npmjs.org/@ashtrindade/logger/-/logger-1.0.2.tgz","fileCount":20,"unpackedSize":23803,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLfp3zjBs7HwpbUwvVG2iNRB2mhya3ynWiOUjWTAa2dgIgHHpjs8ftVj4qiFMuTw7DZmNi5rHkw1Rn6EmmNDxEH7I="}]},"_npmUser":{"name":"ashtrindade","email":"ashtrindade5@gmail.com"},"maintainers":[{"name":"ashtrindade","email":"ashtrindade5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logger_1.0.2_1711996479888_0.49094987386328226"},"_hasShrinkwrap":false},"1.0.3":{"name":"@ashtrindade/logger","version":"1.0.3","description":"Node.js logger with dynamic log levels","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest --verbose ./test","test:coverage":"jest --verbose ./test/ --coverage","build":"tsc","lint":"npx eslint . --fix","reset":"rm -rf node_modules && rm package-lock.json && npm install","clear:build":"rm -rf dist","clear:coverage":"rm -rf coverage","prepare":"husky install","help":"bash scripts/scripts-list.sh","publish":"rm -rf dist && npm run build && npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/ashtrindade/logger.git"},"author":{"name":"Ash Trindade"},"license":"MIT","bugs":{"url":"https://github.com/ashtrindade/logger/issues"},"homepage":"https://github.com/ashtrindade/logger#readme","publishConfig":{"registry":"https://npm.pkg.github.com"},"devDependencies":{"@types/jest":"29.5.11","@types/node":"20.10.4","@typescript-eslint/eslint-plugin":"6.13.2","@typescript-eslint/parser":"6.13.2","eslint":"8.55.0","husky":"8.0.3","jest":"29.7.0","ts-jest":"29.1.1","ts-node":"10.9.2","tsconfig-paths":"4.2.0","typescript":"5.3.3"},"directories":{"test":"test"},"_id":"@ashtrindade/logger@1.0.3","gitHead":"a46412c73722e4306144ee31cc6a11a236f279b8","_nodeVersion":"20.10.0","_npmVersion":"10.2.5","dist":{"integrity":"sha512-I3GrPb1+9cJP9UoTpAUDrTGS7YkXVeW0gx0R57GwUWK97Uhqp4/nPuaVd9XGsXY9Q27+o73Nh+bBh7GgbroTpw==","shasum":"388e2e9fa5a34cd0d64fc89af5b289abf74dcc99","tarball":"https://registry.npmjs.org/@ashtrindade/logger/-/logger-1.0.3.tgz","fileCount":11,"unpackedSize":13904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHhyIznGvDWnHZSG6HaPo/mChOO8mZVvWGvW/KRIiD1AIgW6NtMMPygO5mteLwpmNiNt3vEt7rW1+0s5W74Ne+Nkc="}]},"_npmUser":{"name":"ashtrindade","email":"ashtrindade5@gmail.com"},"maintainers":[{"name":"ashtrindade","email":"ashtrindade5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logger_1.0.3_1711997603048_0.3210824196396118"},"_hasShrinkwrap":false},"1.0.4":{"name":"@ashtrindade/logger","version":"1.0.4","description":"Node.js logger with dynamic log levels","main":"dist/index.js","types":"index.d.ts","scripts":{"test":"jest --verbose ./test","test:coverage":"jest --verbose ./test/ --coverage","build":"tsc","lint":"npx eslint . --fix","reset":"rm -rf node_modules && rm package-lock.json && npm install","clear:build":"rm -rf dist","clear:coverage":"rm -rf coverage","prepare":"husky install","help":"bash scripts/scripts-list.sh","publish":"rm -rf dist && npm run build && npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/ashtrindade/logger.git"},"author":{"name":"Ash Trindade"},"license":"MIT","bugs":{"url":"https://github.com/ashtrindade/logger/issues"},"homepage":"https://github.com/ashtrindade/logger#readme","publishConfig":{"registry":"https://npm.pkg.github.com"},"devDependencies":{"@types/jest":"29.5.11","@types/node":"20.10.4","@typescript-eslint/eslint-plugin":"6.13.2","@typescript-eslint/parser":"6.13.2","eslint":"8.55.0","husky":"8.0.3","jest":"29.7.0","ts-jest":"29.1.1","ts-node":"10.9.2","tsconfig-paths":"4.2.0","typescript":"5.3.3"},"directories":{"test":"test"},"_id":"@ashtrindade/logger@1.0.4","gitHead":"a46412c73722e4306144ee31cc6a11a236f279b8","_nodeVersion":"20.10.0","_npmVersion":"10.2.5","dist":{"integrity":"sha512-5tt/g9ouomGZT6upCXUFiVVP1TghBOoFVWAKBY5061IEwTfAre4TQoVy3YG06SC6Jb5BGXqBsrIkdf3HPF2Y3A==","shasum":"6f00f40fe6583f7c35d649f64bd956867da55a31","tarball":"https://registry.npmjs.org/@ashtrindade/logger/-/logger-1.0.4.tgz","fileCount":11,"unpackedSize":13899,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDC+HzMChS6av4WVqearJHO6Jn8FPPCKVdPoNegpUikiAiEAvrby8f8jPMQ8G5OyMD8qY9MXAOOOhArGkv2l3CmRdAs="}]},"_npmUser":{"name":"ashtrindade","email":"ashtrindade5@gmail.com"},"maintainers":[{"name":"ashtrindade","email":"ashtrindade5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logger_1.0.4_1711997740153_0.31136616066129474"},"_hasShrinkwrap":false},"1.0.5":{"name":"@ashtrindade/logger","version":"1.0.5","description":"Node.js logger with dynamic log levels","main":"dist/index.js","types":"index.d.ts","scripts":{"test":"jest --verbose ./test","test:coverage":"jest --verbose ./test/ --coverage","build":"tsc","lint":"npx eslint . --fix","reset":"rm -rf node_modules && rm package-lock.json && npm install","clear:build":"rm -rf dist","clear:coverage":"rm -rf coverage","prepare":"husky install","help":"bash scripts/scripts-list.sh","pkg:publish":"rm -rf dist && npm run build && npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/ashtrindade/logger.git"},"author":{"name":"Ash Trindade"},"license":"MIT","bugs":{"url":"https://github.com/ashtrindade/logger/issues"},"homepage":"https://github.com/ashtrindade/logger#readme","publishConfig":{"registry":"https://npm.pkg.github.com"},"devDependencies":{"@types/jest":"29.5.11","@types/node":"20.10.4","@typescript-eslint/eslint-plugin":"6.13.2","@typescript-eslint/parser":"6.13.2","eslint":"8.55.0","husky":"8.0.3","jest":"29.7.0","ts-jest":"29.1.1","ts-node":"10.9.2","tsconfig-paths":"4.2.0","typescript":"5.3.3"},"directories":{"test":"test"},"_id":"@ashtrindade/logger@1.0.5","gitHead":"bb63afbd85f6f071c5ca91366c8fc1751711f286","_nodeVersion":"20.10.0","_npmVersion":"10.2.5","dist":{"integrity":"sha512-Uuq3sZ45Wd9NFoecAmdo/7wIJ9pOR6YcEIxRvjuAqgH/NqLfDLTVjKo2Fe97fTgAchaRLt0fX+wF0b4UOM7rew==","shasum":"0e53f2ca6719537f77994f13aa8d28032a6f017e","tarball":"https://registry.npmjs.org/@ashtrindade/logger/-/logger-1.0.5.tgz","fileCount":11,"unpackedSize":13903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBA6jMHhUtw2RuBSwvZzeQirkzDyGUavrPU8yED+qjd8AiEA0J4pkQmFis0qUQcEMVM+F9wayOo1QXBBdWdDOavs4KI="}]},"_npmUser":{"name":"ashtrindade","email":"ashtrindade5@gmail.com"},"maintainers":[{"name":"ashtrindade","email":"ashtrindade5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logger_1.0.5_1711997852002_0.289849872949949"},"_hasShrinkwrap":false},"1.0.6":{"name":"@ashtrindade/logger","version":"1.0.6","description":"Node.js logger with dynamic log levels","main":"dist/index.js","types":"index.d.ts","scripts":{"test":"jest --verbose ./test","test:coverage":"jest --verbose ./test/ --coverage","build":"tsc","lint":"npx eslint . --fix","reset":"rm -rf node_modules && rm package-lock.json && npm install","clear:build":"rm -rf dist","clear:coverage":"rm -rf coverage","prepare":"husky install","help":"bash scripts/scripts-list.sh","pkg:publish":"rm -rf dist && npm run build && npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/ashtrindade/logger.git"},"author":{"name":"Ash Trindade"},"license":"MIT","bugs":{"url":"https://github.com/ashtrindade/logger/issues"},"homepage":"https://github.com/ashtrindade/logger#readme","keywords":["logger","log","logging","loglevel","tools","typescript"],"publishConfig":{"registry":"https://npm.pkg.github.com"},"devDependencies":{"@types/jest":"29.5.11","@types/node":"20.10.4","@typescript-eslint/eslint-plugin":"6.13.2","@typescript-eslint/parser":"6.13.2","eslint":"8.55.0","husky":"8.0.3","jest":"29.7.0","ts-jest":"29.1.1","ts-node":"10.9.2","tsconfig-paths":"4.2.0","typescript":"5.3.3"},"directories":{"test":"test"},"_id":"@ashtrindade/logger@1.0.6","gitHead":"ecccd86d5b62ec7c177a09458f9b001cafeeb60c","_nodeVersion":"20.10.0","_npmVersion":"10.2.5","dist":{"integrity":"sha512-iYj8vrn84BcPPOmaGwdBVV7hXuuY9+Tfn9edyi/L2lKijtfLd9NLcT4MkYAw4kxK7zK8zgwcNwBbsCH4VJccJA==","shasum":"842a06b292a940fb3e90c967319904b01f3936ff","tarball":"https://registry.npmjs.org/@ashtrindade/logger/-/logger-1.0.6.tgz","fileCount":12,"unpackedSize":14065,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXMgeirMM/pHwbSXcB1OVB3k4g6Pr0t8DvUmqrq1V3MwIgb6bbLHeqEOq5oEFaxNVYJc9o/UuGY9CjTmLu0H5THHI="}]},"_npmUser":{"name":"ashtrindade","email":"ashtrindade5@gmail.com"},"maintainers":[{"name":"ashtrindade","email":"ashtrindade5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logger_1.0.6_1712705386124_0.2510170918569239"},"_hasShrinkwrap":false},"2.0.0":{"name":"@ashtrindade/logger","version":"2.0.0","description":"Node.js logger with dynamic log levels","main":"dist/index.js","types":"index.d.ts","scripts":{"test":"jest --verbose ./test","test:coverage":"jest --verbose ./test/ --coverage","build":"tsc","lint":"npx eslint . --fix","reset":"rm -rf node_modules && rm package-lock.json && npm install","clear:build":"rm -rf dist","clear:coverage":"rm -rf coverage","prepare":"husky install","help":"bash scripts/scripts-list.sh","pkg:publish":"rm -rf dist && npm run build && npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/ashtrindade/logger.git"},"author":{"name":"Ash Trindade"},"license":"MIT","bugs":{"url":"https://github.com/ashtrindade/logger/issues"},"homepage":"https://github.com/ashtrindade/logger#readme","keywords":["logger","log","logging","loglevel","tools","typescript"],"publishConfig":{"registry":"https://npm.pkg.github.com"},"devDependencies":{"@types/jest":"29.5.11","@types/node":"20.10.4","@typescript-eslint/eslint-plugin":"6.13.2","@typescript-eslint/parser":"6.13.2","eslint":"8.55.0","husky":"8.0.3","jest":"29.7.0","ts-jest":"29.1.1","ts-node":"10.9.2","tsconfig-paths":"4.2.0","typescript":"5.3.3"},"directories":{"test":"test"},"_id":"@ashtrindade/logger@2.0.0","gitHead":"c9068eae20e93a5be673eb45e2b5099bc98fde21","_nodeVersion":"20.10.0","_npmVersion":"10.2.5","dist":{"integrity":"sha512-4DfoeS6xquKp0Uf+YuZi3VubH3Zr2XU+RmZIp87Q59br1ktWJzaEoMhHLKAcrT6dnwRpyr1HXpPT1SbKAZMoIA==","shasum":"f39fb03a62e3e872dade9c1ca50e8027da22d532","tarball":"https://registry.npmjs.org/@ashtrindade/logger/-/logger-2.0.0.tgz","fileCount":14,"unpackedSize":18614,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDy0CvuNTC+dGySqoHm2KIOw7UwjVvm2Cl668jBGXkp5wIhAJRyRFn0F83CtHN0a/RDjwXdw0wdL1n/ktha0ENI61ce"}]},"_npmUser":{"name":"ashtrindade","email":"ashtrindade5@gmail.com"},"maintainers":[{"name":"ashtrindade","email":"ashtrindade5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logger_2.0.0_1712799371171_0.8005711727211251"},"_hasShrinkwrap":false}},"maintainers":[{"name":"ashtrindade","email":"ashtrindade5@gmail.com"}],"description":"Node.js logger with dynamic log levels","homepage":"https://github.com/ashtrindade/logger#readme","repository":{"type":"git","url":"git+https://github.com/ashtrindade/logger.git"},"author":{"name":"Ash Trindade"},"bugs":{"url":"https://github.com/ashtrindade/logger/issues"},"license":"MIT","readme":"# Logger\r\n\r\nThis Logger package is a utility for logging messages in your application. It provides a simple and flexible way to record important events, errors, and debugging information.\r\n\r\n## Usage\r\n\r\nTo use the Logger package in your project, follow these steps:\r\n\r\n1. Install the package using your package manager of choice:\r\n\r\n  ```bash\r\n  npm install @ashtrindade/logger\r\n  ```\r\n\r\n2. Import the Log module into your code:\r\n\r\n  ```js\r\n  // CommonJS\r\n  const Log = require('@ashtrindade/logger')\r\n\r\n  // ES6\r\n  import Log from '@ashtrindade/logger'\r\n  ```\r\n\r\n  ```js\r\n  /**\r\n  @required {string} message - data to be logged.\r\n  @optional {string} tag - use to help identify the source of the log message.\r\n  */\r\n\r\n  Log.d(message: string, tag: string); // Debug log\r\n  Log.i(message: string, tag: string); // Info log\r\n  Log.w(message: string, tag: string); // Warning log\r\n  Log.e(message: string, tag: string); // Error log\r\n  Log.v(message: string, tag: string); // Verbose log\r\n  ```\r\n\r\n## Example\r\n\r\n  ```ts\r\n  Log.d('This is a debug message', 'MyTag');\r\n  // Output: [ YYYY-MM-DD HH:mm:ss GMT<offset> :: MyTag ::  D  => This is a debug message\r\n  ```\r\n\r\n![Examples of logs with the format above](https://i.imgur.com/xYkkhBj.png)\r\n","readmeFilename":"README.md","keywords":["logger","log","logging","loglevel","tools","typescript"]}