{"_id":"@log4js-node/log4js-api","_rev":"4-edc56f825aa41150eb5fef453b044a39","name":"@log4js-node/log4js-api","description":"For libraries that want to include log4js for logging, but don't want to introduce version conflicts for users that also use log4js. Delegates to whatever log4js version can be found, but does not introduce a specific log4js version.","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@log4js-node/log4js-api","version":"1.0.0","description":"For libraries that want to include log4js for logging, but don't want to introduce version conflicts for users that also use log4js. Delegates to whatever log4js version can be found, but does not introduce a specific log4js version.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/log4js-node/log4js-api.git"},"scripts":{"lint":"eslint lib/ test/","prepush":"npm test","commitmsg":"validate-commit-msg","pretest":"eslint lib/**/* test/**/*","test":"tap 'test/**/*.js' --100","coverage":"tap 'test/**/*.js' --100","codecov":"tap 'test/**/*.js' --cov --coverage-report=lcov && codecov"},"keywords":["log4js","logging","logger","api","compatibility"],"author":{"name":"Gareth Jones","email":"gareth.nomiddlename@gmail.com"},"license":"Apache-2.0","devDependencies":{"codecov":"^2.2.0","eslint":"^4.0.0","husky":"^0.14.0","nyc":"^11.0.2","sandboxed-module":"^2.0.3","tap":"^10.5.2","validate-commit-msg":"^2.12.2"},"config":{"validate-commit-msg":{"types":["feat","fix","docs","style","refactor","example","perf","test","chore","revert"],"warnOnFail":false,"maxSubjectLength":72,"subjectPattern":".+","subjectPatternErrorMsg":"subject does not match subject pattern!","helpMessage":"\n# allowed type: feat, fix, docs, style, refactor, example, perf, test, chore, revert\n# subject no more than 72 chars\n# a body line no more than 72 chars"}},"nyc":{"all":true,"include":["lib/**/*.js"],"require":["./sandbox-coverage"]},"gitHead":"78c1554aff72f7a1704671df52f0c0be9d43f360","bugs":{"url":"https://github.com/log4js-node/log4js-api/issues"},"homepage":"https://github.com/log4js-node/log4js-api#readme","_id":"@log4js-node/log4js-api@1.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.3","_npmUser":{"name":"csausdev","email":"gareth.nomiddlename@gmail.com"},"dist":{"integrity":"sha512-mdOKAXiQirVkfgA22UrSnNcmp4UNbqFI2sxqFY+O1G5I7n2WpSvOpvQBx3nn70oDnkkh8fG1JUMx8nGFpw86dQ==","shasum":"a97d9838a1da83820b05f278361d879363de5adb","tarball":"https://registry.npmjs.org/@log4js-node/log4js-api/-/log4js-api-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDNEQJmz0EtbwRN3icqnoMmuu1ba1IfnfA2jdk8aEOTwIhAM20xYjNgSXF53/kUUNuOJdDOU0B52TpHzGbji+vPnZr"}]},"maintainers":[{"name":"csausdev","email":"gareth.nomiddlename@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log4js-api-1.0.0.tgz_1498974336344_0.6048851693049073"},"directories":{}},"1.0.1":{"name":"@log4js-node/log4js-api","version":"1.0.1","description":"For libraries that want to include log4js for logging, but don't want to introduce version conflicts for users that also use log4js. Delegates to whatever log4js version can be found, but does not introduce a specific log4js version.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/log4js-node/log4js-api.git"},"scripts":{"lint":"eslint lib/ test/","prepush":"npm test","commitmsg":"validate-commit-msg","pretest":"eslint lib/**/* test/**/*","test":"tap 'test/**/*.js' --100","coverage":"tap 'test/**/*.js' --100","codecov":"tap 'test/**/*.js' --cov --coverage-report=lcov && codecov"},"keywords":["log4js","logging","logger","api","compatibility"],"author":{"name":"Gareth Jones","email":"gareth.nomiddlename@gmail.com"},"license":"Apache-2.0","devDependencies":{"codecov":"^2.2.0","eslint":"^4.0.0","husky":"^0.14.0","nyc":"^11.0.2","sandboxed-module":"^2.0.3","tap":"^10.5.2","validate-commit-msg":"^2.12.2"},"config":{"validate-commit-msg":{"types":["feat","fix","docs","style","refactor","example","perf","test","chore","revert"],"warnOnFail":false,"maxSubjectLength":72,"subjectPattern":".+","subjectPatternErrorMsg":"subject does not match subject pattern!","helpMessage":"\n# allowed type: feat, fix, docs, style, refactor, example, perf, test, chore, revert\n# subject no more than 72 chars\n# a body line no more than 72 chars"}},"nyc":{"all":true,"include":["lib/**/*.js"],"require":["./sandbox-coverage"]},"typings":"./index.d.ts","gitHead":"9a0a2c14d957992761d07d7f8bbd82dacf9b590f","bugs":{"url":"https://github.com/log4js-node/log4js-api/issues"},"homepage":"https://github.com/log4js-node/log4js-api#readme","_id":"@log4js-node/log4js-api@1.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"csausdev","email":"gareth.nomiddlename@gmail.com"},"dist":{"integrity":"sha512-DiFIGXCaXJKA2JUAOXtcKaBsP06KkGABsuvd9ShRJxObFw6ZkqSjssJhaM3ie7YfgxO9KyMLJ4YPqZ5VEqSWLw==","shasum":"c5fa1389b93ca906f8605607c1af476cf18b2bed","tarball":"https://registry.npmjs.org/@log4js-node/log4js-api/-/log4js-api-1.0.1.tgz","fileCount":6,"unpackedSize":15063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbT7MACRA9TVsSAnZWagAA0aQP/AzXW2ldIkx5daHjaVW6\npUTnTmfBEEasvFpu/u5U/tKq7MkBxYUJnKVFVxIlRp9T4MVHHmnKwZjPe6kT\n6yu+6epgONA7RNg1eYWfw8iYFtK10jQYLSKMkHdtFRRUEZpwmzpJPuL+aFx9\np0kO6G2NMMSeSI6/MRXEa5BsZtvrM3Yese1bJ/Z4rSLv7FYc54gtLNI6gLVO\ndlMyiGQVAk23iL/F8IPqRZBroVfsmyNh0snozX0qcX13TuOdMZPhFi1LRYS2\n1ZV41+LAmqlUeVVM4EVCrWMo1DFp5YHPeucZ+nze3AT/HNaxmUtmBjP6Tpgi\n1ZsbaVtxIMIytYvUM23mnp8GJwboOem3qFWw3SVezmJ58mEszq2UWyt1kHOk\n7HY5scoyiXcZ2atTHVANdkzvyq6nBl0C+fMvuxG8xsTGMt1fyf7o74RTqmQm\nKVU00n7hMUO8Sg0Mm9icZH0gI1NiW/2g6yRXbW8srZUNVKq5S2ELzB16wglX\nWMLQsiw1S3HKjtTRCKoG1eNhFFMjXbqq+n5Hew2X/Oaqsiy+ymRjNzFeysf5\no+cxuLRk5ApIcFHqOlJLI3b+YMPSy8JdqO7J4xt5XnlYTgFv0GQgPf1/cVK4\n4bxFsiVEvx48XM83KCkGhZ2U/Bm9s/6RPmxLVjhdfTLTUcOctTmzZm9f/E/M\n33Ha\r\n=WrkA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFZOaTyHXOLwi6amqYeX/rgD7iKkYl3RA9snQ10YF2SAiEAqLgiU3fA8bKAc3UZRt3wqZeSrYaJ4nO9c7trkmKtxXQ="}]},"maintainers":[{"name":"csausdev","email":"gareth.nomiddlename@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log4js-api_1.0.1_1531949824037_0.6857225122638211"},"_hasShrinkwrap":false},"1.0.2":{"name":"@log4js-node/log4js-api","version":"1.0.2","description":"For libraries that want to include log4js for logging, but don't want to introduce version conflicts for users that also use log4js. Delegates to whatever log4js version can be found, but does not introduce a specific log4js version.","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/log4js-node/log4js-api.git"},"scripts":{"lint":"eslint lib/ test/","prepush":"npm test","commitmsg":"validate-commit-msg","pretest":"eslint lib/**/* test/**/*","test":"tap 'test/**/*.js' --100","coverage":"tap 'test/**/*.js' --100","codecov":"tap 'test/**/*.js' --cov --coverage-report=lcov && codecov"},"keywords":["log4js","logging","logger","api","compatibility"],"author":{"name":"Gareth Jones","email":"gareth.nomiddlename@gmail.com"},"license":"Apache-2.0","devDependencies":{"codecov":"^2.2.0","eslint":"^4.0.0","husky":"^0.14.0","nyc":"^11.0.2","sandboxed-module":"^2.0.3","tap":"^10.5.2","validate-commit-msg":"^2.12.2"},"config":{"validate-commit-msg":{"types":["feat","fix","docs","style","refactor","example","perf","test","chore","revert"],"warnOnFail":false,"maxSubjectLength":72,"subjectPattern":".+","subjectPatternErrorMsg":"subject does not match subject pattern!","helpMessage":"\n# allowed type: feat, fix, docs, style, refactor, example, perf, test, chore, revert\n# subject no more than 72 chars\n# a body line no more than 72 chars"}},"nyc":{"all":true,"include":["lib/**/*.js"],"require":["./sandbox-coverage"]},"typings":"./index.d.ts","gitHead":"8d3b0ae166b89d3290acd1877ab02c6e1a61411f","bugs":{"url":"https://github.com/log4js-node/log4js-api/issues"},"homepage":"https://github.com/log4js-node/log4js-api#readme","_id":"@log4js-node/log4js-api@1.0.2","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"csausdev","email":"gareth.nomiddlename@gmail.com"},"dist":{"integrity":"sha512-6SJfx949YEWooh/CUPpJ+F491y4BYJmknz4hUN1+RHvKoUEynKbRmhnwbk/VLmh4OthLLDNCyWXfbh4DG1cTXA==","shasum":"7a8143fb33f077df3e579dca7f18fea74a02ec8b","tarball":"https://registry.npmjs.org/@log4js-node/log4js-api/-/log4js-api-1.0.2.tgz","fileCount":6,"unpackedSize":15012,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYig/CRA9TVsSAnZWagAAY+wP/RxZaeMt/loaPGDnzTwj\n7TPdZ5HGl58oH1ZrJuv4SuymhNJ8slW13L7CXnoa6XwAgBwgOS087RA8MW+N\nzPfd5r/axBhXH9BnQggB2fYgdqRUx3dwgzAiUOirqMf1+UAnlvrlQ/KxO9hl\nFy783no+7qK+TZ9HPZ6SGhfRhu+OmYJ2lspz4awoGYUbxfoLd0uPDHm2/x+k\n6Bd4z5yXi/skBAQAiNzPNFF50A/gfmAr4R3nA9Pijlp9R1fbMa2q1hVxaIDD\nz+EEA/5u7/HOInDYmY4qJlYblJo+WaQwg3m0YO0EHqAsIpDwwtgRy9hErzRM\n8JpEhMX6/C7TfnKcipAx/9Z2zf7gp9i+jlxiHIE+GQ7f7n3R+03KXbBMni0h\nQQv8J0ASUtrph96Fw4V6uNIz9WNgt7SzxDF7CUSIQ45HOXTnS4w8RpuV9hhS\ntyssOcveixfK5Xs7AqfEbL0S+3D7zOjzBCT60Feu+WeCKAbkwfv+owHb2/kq\n/whF7IM04E+Wgcc2U60NdyUMbx44fCdoaQOZhCFkTNDd2/Cd4Mf+XIV+rNB2\ndlX6U5De8Fpr3jg/XjQyJllBK5tdG731V8Jl2MYJDhmmZDcuBHF4JlOsJxYP\naRddYSRYOARmJ9Ex3ptXN+ysY1cSnyPx5718zCBJcgprDjonBl30jCeE56Lf\ncKiV\r\n=Jk42\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNgvtjE2mJIuuE6JTL4rblFJpmQAdszZHXZZIgpK5kowIgKevrSmqhcoNjt3iweePNBTfOIUtlUcGcwdivQTp68HI="}]},"maintainers":[{"name":"csausdev","email":"gareth.nomiddlename@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log4js-api_1.0.2_1533159487305_0.2628393871564414"},"_hasShrinkwrap":false}},"readme":"# Log4js - API\n\nThis library is intended for use by other library makers that want to include support for [log4js](https://github.com/nomiddlename/log4js-node) in their libraries without requiring a dependency on a specific version of log4js. It is intended that this library should remain static, and will work with any version of log4js. If no version of log4js can be found, then the library simply does not output anything.\n\n## Installation\n\n```\nnpm install @log4js-node/log4js-api\n```\n\n## Usage\n\nUse as you would log4js - only without configuring it, it would be your library's clients that are responsible for configuring log4js (if they want to). The API is limited to only `getLogger` on the log4js object, and returns a Logger object that only supports the basic log functions (trace, debug, info, warn, error, fatal). If log4js is found in the require path, then the real log4js Logger object is returned.\n\n```javascript\nconst log4js = require('@log4js-node/log4js-api');\nconst logger = log4js.getLogger('my-library');\n\nlogger.info(\"Library starting up\");\n```\n","maintainers":[{"email":"lam_wei_li@hotmail.com","name":"lamweili"},{"email":"gareth.nomiddlename@gmail.com","name":"csausdev"}],"time":{"modified":"2022-06-17T07:13:26.070Z","created":"2017-07-02T05:45:36.449Z","1.0.0":"2017-07-02T05:45:36.449Z","1.0.1":"2018-07-18T21:37:04.214Z","1.0.2":"2018-08-01T21:38:07.383Z"},"homepage":"https://github.com/log4js-node/log4js-api#readme","keywords":["log4js","logging","logger","api","compatibility"],"repository":{"type":"git","url":"git+https://github.com/log4js-node/log4js-api.git"},"author":{"name":"Gareth Jones","email":"gareth.nomiddlename@gmail.com"},"bugs":{"url":"https://github.com/log4js-node/log4js-api/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}