{"_id":"loglevel-plugin-prefix","_rev":"15-96065cd99eaca3c2436e5895b350d718","name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","dist-tags":{"latest":"0.8.4"},"versions":{"0.4.1":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","loglevel","loglevel-plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.4.1","main":"./lib/loglevel-plugin-prefix","babel":{"presets":["env"],"plugins":["add-module-exports","transform-es2015-modules-umd"]},"scripts":{"eslint":"eslint src/prefix.js","babel":"babel ./src/prefix.js --out-file ./lib/loglevel-plugin-prefix.js","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m reserved=[prefix]","build":"npm run babel && npm run uglifyjs","publish-to-npm":"npm install && npm run build && npm publish"},"devDependencies":{"babel-cli":"^6.24.1","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-env":"^1.5.1","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.2.0","eslint-plugin-import":"^2.3.0","uglify-js":"^3.0.11"},"gitHead":"1db0e0a667f963d9705609857affeb5c81a2c11e","_id":"loglevel-plugin-prefix@0.4.1","_npmVersion":"5.0.2","_nodeVersion":"6.10.0","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-XWzgngqWhuDYS0UTzoqqp0zPuQDMEl5T2iUpLQgac+31mUnnMbMgCvg+ZqgprJQQAA0EwbNGxAiXLdrqLuv5vg==","shasum":"b8e90f9d2c8d1a986f42ef0b9b20ffb1a61e9c06","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.4.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBG73f3k19IDHBuUy2b70rHhhDry6nrPqdXsldBP9RMQAiEA2XkDPtSqJKu/11rWCUyP65/fpDZukC0H4RcK4b/g8zM="}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.4.1.tgz_1496745588177_0.9440593791659921"},"directories":{}},"0.4.2":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","loglevel","loglevel-plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.4.2","main":"./lib/loglevel-plugin-prefix","babel":{"presets":["env"],"plugins":["add-module-exports","transform-es2015-modules-umd"]},"scripts":{"eslint":"eslint src/prefix.js","babel":"babel ./src/prefix.js --out-file ./lib/loglevel-plugin-prefix.js","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m reserved=[prefix]","build":"npm run babel && npm run uglifyjs","publish-to-npm":"npm install && npm run build && npm publish"},"devDependencies":{"babel-cli":"^6.24.1","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-env":"^1.5.1","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.2.0","eslint-plugin-import":"^2.3.0","uglify-js":"^3.0.11"},"gitHead":"f4613416df79d098305c4f9461d99c602d7d47d6","_id":"loglevel-plugin-prefix@0.4.2","_npmVersion":"5.0.2","_nodeVersion":"6.10.0","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-JhaN646zXeY3zs2IIKCpiOVvLjKAuaTkfiHXC415j9bCmP1nrWAYNHSxRPS8EfNpU9ixm0m4QJj4/yZCBdArmg==","shasum":"8c3b430cbd12bd03565e80d8201133697bd64ce0","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.4.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDXj9OjuWExSDRbmSED80RESDSDvKivEwQluQWJkRVanAiEAlURKZMeMg/EMsa2zgRpPjKSiyJVOHnU6vZ7QWK1eV3k="}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.4.2.tgz_1496753656593_0.24194470862857997"},"directories":{}},"0.5.0":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","loglevel","loglevel-plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.5.0","main":"./lib/loglevel-plugin-prefix","babel":{"presets":["env"],"plugins":["add-module-exports","transform-es2015-modules-umd"]},"scripts":{"eslint":"eslint src/prefix.js","test":"mocha","babel":"babel ./src/prefix.js --out-file ./lib/loglevel-plugin-prefix.js","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m reserved=[prefix]","build":"npm run babel && npm run uglifyjs","publish-to-npm":"npm install && npm run build && npm publish"},"devDependencies":{"babel-cli":"^6.24.1","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-es2015-modules-umd":"^6.24.1","babel-preset-env":"^1.5.1","chai":"^4.0.2","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.2.0","eslint-plugin-chai-friendly":"^0.3.6","eslint-plugin-import":"^2.3.0","loglevel":"^1.4.1","loglevel-plugin-mock":"^0.1.0","mocha":"^3.4.2","sinon":"^2.3.2","uglify-js":"^3.0.11"},"gitHead":"f4613416df79d098305c4f9461d99c602d7d47d6","_id":"loglevel-plugin-prefix@0.5.0","_npmVersion":"5.0.3","_nodeVersion":"6.10.0","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-qi0Ot4x8usiYLxkhku+8Yp0ZU/6bj2ZWER+p4tF30qDcnzyk0XDwcWMOjrcLPWmRXu8abjGUMzKO+50ZvsqjhA==","shasum":"1c38d5595bfb7f2c8e1acf06de630524afb78343","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.5.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID2SrwzQ4a+lWuPKaTVAS9DedqD+zYNQyvClAKdzT2gNAiBMFZ93TnfyNEiZ0VhkVQFVhGxpZEk0rxAEjcDWUXCv1w=="}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.5.0.tgz_1497348145555_0.33837190410122275"},"directories":{}},"0.5.1":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","prefix","loglevel","loglevel-plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.5.1","main":"./lib/loglevel-plugin-prefix","scripts":{"eslint":"eslint ./lib/loglevel-plugin-prefix.js","test":"mocha","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m","build":"npm install && npm run eslint && npm run test && npm run uglifyjs"},"devDependencies":{"chai":"^4.0.2","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.2.0","eslint-plugin-chai-friendly":"^0.3.6","loglevel":"^1.4.1","loglevel-plugin-mock":"^0.1.0","mocha":"^3.4.2","sinon":"^2.3.2","uglify-js":"^3.0.11"},"gitHead":"4c8253a178541020999ba634f76f8a212b301759","_id":"loglevel-plugin-prefix@0.5.1","_npmVersion":"5.0.3","_nodeVersion":"6.10.0","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-Oz6TGQugoySuxbYweUKOR+XF8XyI0U5/WhE/D3n/XU4n2nuWtrXVgak1RXkxphQLOpTX/imA/spmZimjVLvQ1A==","shasum":"9dc73b151ba21adc75b9739bd0d1aae27a2db0c7","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.5.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH2pOFdfUJuEmJUV/acnXtYgSwcYrei8IpIphirLxfDCAiBs52MCndnL3HKFZWpyzrAVfLexdUSYm07NJpdqzLLs2Q=="}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.5.1.tgz_1497867081815_0.4230596893467009"},"directories":{}},"0.5.2":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","prefix","loglevel","loglevel-plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.5.2","main":"./lib/loglevel-plugin-prefix","scripts":{"eslint":"eslint ./lib/loglevel-plugin-prefix.js","test":"mocha","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m","build":"npm install && npm run eslint && npm run test && npm run uglifyjs"},"devDependencies":{"chai":"^4.0.2","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.2.0","eslint-plugin-chai-friendly":"^0.3.6","loglevel":"^1.4.1","loglevel-plugin-mock":"^0.1.0","mocha":"^3.4.2","sinon":"^2.3.2","uglify-js":"^3.0.11"},"gitHead":"57d3ac1aef4e69bbb220caea5bdcbffd78287b6a","_id":"loglevel-plugin-prefix@0.5.2","_npmVersion":"5.0.3","_nodeVersion":"6.10.0","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-ISiEro4GIcr6NMUMDeomcKgyvH7fgfBiuNMMUAvS1aYiZqeXq9kYTk9Ryw1LUNuBq91TnCxuh4Lv7VvtELk56Q==","shasum":"eda9813be0b052cc104ed3633385adfd194954b2","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.5.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCX5QQgdWqxql+NA4h+tTNNCDvEQB3uvwYLw4L7+2JNzAIhANPAip1TomHc1TAaEjfwgUDgvqS5rmpnVKCqcnch+koB"}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.5.2.tgz_1497867450484_0.3419708760920912"},"directories":{}},"0.5.3":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","prefix","loglevel","loglevel-plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.5.3","main":"./lib/loglevel-plugin-prefix","scripts":{"eslint":"eslint ./lib/loglevel-plugin-prefix.js","test":"mocha","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m","build":"npm install && npm run eslint && npm run test && npm run uglifyjs"},"devDependencies":{"chai":"^4.0.2","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.2.0","eslint-plugin-chai-friendly":"^0.3.6","loglevel":"^1.4.1","loglevel-plugin-mock":"^0.1.0","mocha":"^3.4.2","sinon":"^2.3.2","uglify-js":"^3.0.11"},"gitHead":"a1c211cea025b37bda85a72a6ef4bb23bd320861","_id":"loglevel-plugin-prefix@0.5.3","_npmVersion":"5.0.3","_nodeVersion":"6.10.0","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-zRAJw3WYCQAJ6xfEIi04/oqlmR6jkwg3hmBcMW82Zic3iPWyju1gwntcgic0m5NgqYNJ62alCmb0g/div26WjQ==","shasum":"8e9131b96e4697a0dba517996f76b9e6c3f43210","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.5.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzanDpdZ9ecMMv1IbLoWfKT/9pVJUH18FD34FdnJn5fwIhAMSpLqd95Y9xD6+hgfcIpp7/xyY+QzxR0A8GqK2hwZZ7"}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.5.3.tgz_1497868510887_0.689860220067203"},"directories":{}},"0.6.0":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","prefix","loglevel","loglevel-plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.6.0","main":"./lib/loglevel-plugin-prefix","scripts":{"eslint":"eslint ./lib/loglevel-plugin-prefix.js","test":"mocha","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m","build":"npm install && npm run eslint && npm run test && npm run uglifyjs"},"devDependencies":{"chai":"^4.1.2","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.3.2","eslint-plugin-chai-friendly":"^0.3.6","loglevel":"^1.6.0","loglevel-plugin-mock":"^0.1.0","mocha":"^3.5.3","sinon":"^2.4.1","uglify-js":"^3.3.4"},"gitHead":"dfaca7b4cc9e8933de8a78b202388ad176d59426","_id":"loglevel-plugin-prefix@0.6.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-qxLmtRAt5m7n4UH4xUu7P7zV+oYm3LORDcO1E1yvIcQhq73uJUSu0AECtvVytUrksT2E/hKfWI3tSfTFq8CgFw==","shasum":"52027c2f7d7d36f055179676c8027077c33bf6f8","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.6.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfc7tP4GranddF0Xoreo4MIoINXpnmIYKLzw/Pvog0dQIhAO378y3DP1yI3XnoEe6Qbm9pgB5N7+VdGgEYX1HTsdr1"}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.6.0.tgz_1514982546192_0.9249604500364512"},"directories":{}},"0.7.0":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","prefix","loglevel","loglevel-plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.7.0","main":"./lib/loglevel-plugin-prefix","scripts":{"eslint":"eslint ./lib/loglevel-plugin-prefix.js","test":"mocha","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m","build":"npm install && npm run eslint && npm run test && npm run uglifyjs"},"devDependencies":{"chai":"^4.1.2","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.3.2","eslint-plugin-chai-friendly":"^0.3.6","eslint-plugin-import":"^2.8.0","loglevel":"^1.6.0","loglevel-plugin-mock":"^0.1.0","mocha":"^3.5.3","sinon":"^2.4.1","uglify-js":"^3.3.4"},"gitHead":"c7c974998eb2929c0e410e7bbbaeec3c30d3e1a6","_id":"loglevel-plugin-prefix@0.7.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-U2EDLaIKtClAVBo2AwUgVNgalaC/24EE8c4khWfjg4WHKtenVaxib1CfloiDaqbaf/TmTzP+kx4vWBPOhtMheA==","shasum":"e56424eb4cd89cc4ed650f0a37f728627807441c","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.7.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx9/vd/nsmsQa5U9Ozdo3fHUzYOg+s6jRJCyWO75imrgIgHEfNO6xLw+aKaO6PyBRStsN1vmj6Usy7WEoxLORFw+w="}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.7.0.tgz_1515481736089_0.1560788913629949"},"directories":{}},"0.7.1":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","prefix","loglevel","loglevel-plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.7.1","main":"./lib/loglevel-plugin-prefix","scripts":{"eslint":"eslint ./lib/loglevel-plugin-prefix.js","test":"mocha","example":"node ./example/example.js","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m","build":"npm install && npm run eslint && npm run test && npm run uglifyjs"},"devDependencies":{"chai":"^4.1.2","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.3.2","eslint-plugin-chai-friendly":"^0.3.6","eslint-plugin-import":"^2.8.0","loglevel":"^1.6.1","loglevel-plugin-mock":"^0.1.0","mocha":"^3.5.3","sinon":"^2.4.1","uglify-js":"^3.3.5"},"gitHead":"b9fb87224331d1975f16e8285f36bb56c9c7aee9","_id":"loglevel-plugin-prefix@0.7.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-NBvW44LeE2DTsxnCg64577vN3RviU4gtpl7p+kkEVazQWDrx50NR+j1an/UlfXvTK82afLlJGHTvBe503B+mDA==","shasum":"be59354b2b20d7e2edf9accd2b793c58f7b0ca93","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.7.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCm4XhFYelTBFgJOC0fWZ/3tg/w2gz0mMikyFGCYbtg7QIgN/c1oGUvEt7lHyZMH2BPMCTZIH69M6OYYlkdXjMGhC0="}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.7.1.tgz_1515662342101_0.15708632348105311"},"directories":{}},"0.7.2":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","prefix","loglevel","loglevel-plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.7.2","main":"./lib/loglevel-plugin-prefix","scripts":{"eslint":"eslint ./lib/loglevel-plugin-prefix.js","test":"mocha","example":"node ./example/example.js","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m","build":"npm install && npm run eslint && npm run test && npm run uglifyjs"},"devDependencies":{"chai":"^4.1.2","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.3.2","eslint-plugin-chai-friendly":"^0.3.6","eslint-plugin-import":"^2.8.0","loglevel":"^1.6.1","loglevel-plugin-mock":"^0.1.0","mocha":"^3.5.3","sinon":"^2.4.1","uglify-js":"^3.3.5"},"gitHead":"586478e33b8c3075f3c3d183d3bcad7c21b46c83","_id":"loglevel-plugin-prefix@0.7.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-+SBfhP0TMmOucHF/o4wbgCU1idLdaxMScVfTPIamO5ijHgLELmxpyHhzQR3G0ILiXjtldGbM9NgRJ3V8nPd8Zg==","shasum":"938a5598b149d97b6de44e13547a764135b917b4","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.7.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqfCEC4zxyj8/mzSUqazauJ5kNUTkYGQ9JB4cHCgipCAiEAztQR/kDk7tL3hRsFBZu4TctWxOiwrMLD4Q8gMbvctkk="}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.7.2.tgz_1515671332876_0.8049874138087034"},"directories":{}},"0.8.0":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","node","prefix","colored","loglevel","plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.8.0","main":"./lib/loglevel-plugin-prefix","scripts":{"eslint":"eslint ./lib/loglevel-plugin-prefix.js","test":"mocha","example":"node ./example/example.js","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m","build":"npm install && npm run eslint && npm run test && npm run uglifyjs"},"devDependencies":{"chai":"^4.1.2","chalk":"^2.3.0","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.3.2","eslint-plugin-chai-friendly":"^0.3.6","eslint-plugin-import":"^2.8.0","loglevel":"^1.6.1","loglevel-plugin-mock":"^0.1.0","mocha":"^3.5.3","sinon":"^2.4.1","uglify-js":"^3.3.5"},"gitHead":"161686c95f5536705f9a6e748b1ec04621d764da","_id":"loglevel-plugin-prefix@0.8.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-lDxYA0UHX1O3E5TAnM2gzZmLGSNDI+rZUUwg5NWohMFiZBas2ZhQd1+Y2mJ6ADkLT2RNsS4zVc7+gi9WNDvfnQ==","shasum":"f90ee8e8583a19016f54f25144ade66b612bc43b","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.8.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGRWDLiGRYEY5KyBL0cYB0d/jwL9Kyhi44meSKUNn5TgIhAKXsxECXQfWo0q0LRw51YnE+Bao4s3sCQvPx1sFTu5VS"}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.8.0.tgz_1516959204848_0.2715069307014346"},"directories":{}},"0.8.1":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","node","prefix","colored","loglevel","plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.8.1","main":"./lib/loglevel-plugin-prefix","scripts":{"eslint":"eslint ./lib/loglevel-plugin-prefix.js","test":"mocha","example":"node ./example/example.js","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m","build":"npm install && npm run eslint && npm run test && npm run uglifyjs"},"devDependencies":{"chai":"^4.1.2","chalk":"^2.3.0","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.3.2","eslint-plugin-chai-friendly":"^0.3.6","eslint-plugin-import":"^2.8.0","loglevel":"^1.6.1","loglevel-plugin-mock":"^0.1.0","mocha":"^3.5.3","sinon":"^2.4.1","uglify-js":"^3.3.5"},"gitHead":"cd28c98490781614c70901bc8908a33c6302ffdf","_id":"loglevel-plugin-prefix@0.8.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-Gc32gQuIZeDBclPvbDJQeDGQjeM8H8Q2VdLIV3ot1XRXPQt0FADEOBNPw28C/9d9sxJHAFNmwccgA4ib/Mg0Pg==","shasum":"f2716d394163887354b4d0707de50b3fb3a6bc77","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.8.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8wtt5+hSHG0W8xe5dh6/yJrc2FEgA0el0Ham79FBViAIhAKsXRcJysAkFXjY3OSRt5htd+9Rnzhkw/fZxpEPmCmzl"}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.8.1.tgz_1516967532142_0.413880065549165"},"directories":{}},"0.8.2":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","node","prefix","colored","loglevel","plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.8.2","main":"./lib/loglevel-plugin-prefix","scripts":{"eslint":"eslint ./lib/loglevel-plugin-prefix.js","test":"mocha","example":"node ./example/example.js","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m","build":"npm install && npm run eslint && npm run test && npm run uglifyjs"},"devDependencies":{"chai":"^4.1.2","chalk":"^2.3.0","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.3.2","eslint-plugin-chai-friendly":"^0.3.6","eslint-plugin-import":"^2.8.0","loglevel":"^1.6.1","loglevel-plugin-mock":"^0.1.0","mocha":"^3.5.3","sinon":"^2.4.1","uglify-js":"^3.3.5"},"gitHead":"e8e1e587069192f556150d3d35707d28e07537cf","_id":"loglevel-plugin-prefix@0.8.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-7RmI3adipX4jqJTaNAdG0hyn0W2u3dMh5fvYrVIHXEIMZGs1Kftcbiwpgae5k8Ctv03aPP3vYLyO2NEEibteqA==","shasum":"ce0222dc48142b7bf713b4b48babefa4b60a4d4f","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.8.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvctHcVVV6vr/wbXhQKT3vbRwGYd5HBzoh8YY7D74ckAIhALI7iPz+HlYKfYPUqIONeYntY/FlRuEAliEkttg6Cmzs"}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.8.2.tgz_1516969567949_0.9765973419416696"},"directories":{}},"0.8.3":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","node","prefix","colored","loglevel","plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.8.3","main":"./lib/loglevel-plugin-prefix","scripts":{"eslint":"eslint ./lib/loglevel-plugin-prefix.js","test":"mocha","example":"node ./example/example.js","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m","build":"npm install && npm run eslint && npm run test && npm run uglifyjs"},"devDependencies":{"chai":"^4.1.2","chalk":"^2.3.0","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.3.2","eslint-plugin-chai-friendly":"^0.3.6","eslint-plugin-import":"^2.8.0","loglevel":"^1.6.1","loglevel-plugin-mock":"^0.1.0","mocha":"^3.5.3","sinon":"^2.4.1","uglify-js":"^3.3.5"},"gitHead":"1e4839a1a385256c4fb9d911470bf3e3ccf081c5","_id":"loglevel-plugin-prefix@0.8.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-oFDEE3krjFTlyXfdT6shN4HsIlDrbPyleI2WIgRfn//oUEVfe8dP7goO9ktTSdOQC08CTKshKHHdZXe4Dy9TxQ==","shasum":"3e46ee114f92ead1e1761100209349bda695995b","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.8.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJOoQSBX8goVtkMlXiwVNiC/Hpmlh6AQ30S2+llC9nbAiAFJISu2lE1Rp/soPH/0gycYzzmI3JqmQfaJRTW6D6hVg=="}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix-0.8.3.tgz_1516969918576_0.007563644088804722"},"directories":{}},"0.8.4":{"name":"loglevel-plugin-prefix","description":"Plugin for loglevel message prefixing","author":{"name":"kutuluk"},"keywords":["log","logger","logging","browser","node","prefix","colored","loglevel","plugin"],"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"license":"MIT","version":"0.8.4","main":"./lib/loglevel-plugin-prefix","types":"index.d.ts","scripts":{"eslint":"eslint ./lib/loglevel-plugin-prefix.js","test":"mocha","example":"node ./example/example.js","uglifyjs":"uglifyjs ./lib/loglevel-plugin-prefix.js -o ./dist/loglevel-plugin-prefix.min.js -c -m","build":"npm install && npm run eslint && npm run test && npm run uglifyjs"},"devDependencies":{"chai":"^4.1.2","chalk":"^2.4.1","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.3.2","eslint-plugin-chai-friendly":"^0.3.6","eslint-plugin-import":"^2.12.0","loglevel":"^1.6.1","loglevel-plugin-mock":"^0.1.0","mocha":"^3.5.3","sinon":"^2.4.1","uglify-js":"^3.4.0"},"gitHead":"642ab4c4e4a92a6e8010e527f1096dbb829f192c","_id":"loglevel-plugin-prefix@0.8.4","_npmVersion":"6.1.0","_nodeVersion":"8.9.1","_npmUser":{"name":"kutuluk","email":"blooderast@gmail.com"},"dist":{"integrity":"sha512-WpG9CcFAOjz/FtNht+QJeGpvVl/cdR6P0z6OcXSkr8wFJOsV2GRj2j10JLfjuA4aYkcKCNIEqRGCyTife9R8/g==","shasum":"2fe0e05f1a820317d98d8c123e634c1bd84ff644","tarball":"https://registry.npmjs.org/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.8.4.tgz","fileCount":15,"unpackedSize":63203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJ1XzCRA9TVsSAnZWagAA6QIQAIKA6Ztetc15aLmP3VY2\nOVJqo9ePVIilD5lebkG/KSgWGrpCv+Q2YjxNBwVq9SHR1gPXP6aPy5IcvpXJ\nt74OxN5Rp6Z3t2zwefsTSMzwhQyJuJEx69HTf83UxAwpoza+XZNXxZ2xjYCv\nOP0cHTW4pqyOlibhP43Hn5Db6JW6wlXBD2+Qy0tsobj02x+2XTDGqXEJHsWL\nT0SIzxfa8QFCfUzutrzKiEgqCu2vkjJ0G6rqrJEj6XSQF9fM6KYfIrkGUqX/\nI8AllsVWVYk/VWSWUNv7IvnO8uVqBH0rTgP04SEo6DhXGKpMAzTvmob8J3Za\nlHcQedGtma1ifvw9Vh4TLjySBGYPf8Jkj4/cmZR4XP92r3dnPIODx/srWIvo\n5BZLhQKaY4eYshb7Sx8Nx+QOs1KZk243L76xW5OyXgByi3PvtwCVQi0GaGtY\na06Bg4r4s0qfF1fygbNJKXEi3qZXs8hBiLO7T5aMePloI0WmPcvwhueN7F7y\n4Rou/DPxVJjBeeE2YTsGzIO6xnjBm0rPjd+HZkN4YN95gr+kVy8EWMB3qBL7\nLC3iDyaZlwiPnRE9ZR0EIHLupcndmfwse1Mr7Q6r8EUO85zVDF5xWBJhvd5O\nIEqEgBr/TgTMICCYGum06Iw+OJKEatWF3v/8+l8/mljaMMAhPjyjKOXol4sw\n+2uG\r\n=O5x6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB+h3267Eecp4tWxFzmHNtDBCvT2PZEQn9SnZ7StvdhbAiEA6NFILKtWxHfALEPEGuFaHpkdS5dl4cSNHef1b8xwdcE="}]},"maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/loglevel-plugin-prefix_0.8.4_1529304561518_0.48538714167735897"},"_hasShrinkwrap":false}},"readme":"# loglevel-plugin-prefix\r\n\r\nPlugin for [loglevel](https://github.com/pimterry/loglevel) message prefixing.\r\n\r\n[![NPM version](https://img.shields.io/npm/v/loglevel-plugin-prefix.svg?style=flat-square)](https://www.npmjs.com/package/loglevel-plugin-prefix)[![Build Status](https://img.shields.io/travis/kutuluk/loglevel-plugin-prefix/master.svg?style=flat-square)](https://travis-ci.org/kutuluk/loglevel-plugin-prefix)\r\n\r\n## Installation\r\n\r\n```sh\r\nnpm install loglevel-plugin-prefix\r\n```\r\n\r\n## API\r\n\r\n**This plugin is under active development and should be considered as an unstable. No guarantees regarding API stability are made. Backward compatibility is guaranteed only by path releases.**\r\n\r\n#### `reg(loglevel)`\r\n\r\nThis method registers plugin for loglevel. This method must be called at least once before any call to the apply method. Repeated calls to this method are ignored.\r\n\r\n#### Parameters\r\n\r\n`loglevel` - the root logger, imported from loglevel module\r\n\r\n#### `apply(logger, options)`\r\n\r\nThis method applies the plugin to the logger. Before using this method, the `reg` method must be called, otherwise a warning will be logged. **From the next release, the call apply before reg will throw an error.**\r\n\r\n#### Parameters\r\n\r\n`logger` - any logger of loglevel\r\n\r\n`options` - an optional configuration object\r\n\r\n```javascript\r\nvar defaults = {\r\n  template: '[%t] %l:',\r\n  levelFormatter: function (level) {\r\n    return level.toUpperCase();\r\n  },\r\n  nameFormatter: function (name) {\r\n    return name || 'root';\r\n  },\r\n  timestampFormatter: function (date) {\r\n    return date.toTimeString().replace(/.*(\\d{2}:\\d{2}:\\d{2}).*/, '$1');\r\n  },\r\n  format: undefined\r\n};\r\n```\r\n\r\nPlugin formats the prefix using `template` option as a printf-like format. The `template` is a string containing zero or more placeholder tokens. Each placeholder token is replaced with the value from loglevel messages parameters. Supported placeholders are:\r\n\r\n- `%l` - level of message\r\n- `%n` - name of logger\r\n- `%t` - timestamp of message\r\n\r\nThe `levelFormatter`, `nameFormatter` and `timestampFormatter` is a functions for formatting corresponding values.\r\n\r\nAlternatively, you can use `format` option. This is a function that receives formatted values (level, name, timestamp) and should returns a prefix string.\r\n\r\nIf both `format` and` template` are present in the configuration, the `template` parameter is ignored. When both these parameters are missing in the configuration, the inherited behavior is used.\r\n\r\n## Usage\r\n\r\n### Browser directly\r\n```html\r\n<script src=\"https://unpkg.com/loglevel/dist/loglevel.min.js\"></script>\r\n<script src=\"https://unpkg.com/loglevel-plugin-prefix@^0.8/dist/loglevel-plugin-prefix.min.js\"></script>\r\n\r\n<script>\r\n  var logger = log.noConflict();\r\n  var prefixer = prefix.noConflict();\r\n  prefixer.reg(logger);\r\n  prefixer.apply(logger);\r\n  logger.warn('prefixed message');\r\n</script>\r\n```\r\n\r\nOutput\r\n```\r\n[16:53:46] WARN: prefixed message\r\n```\r\n\r\n### Node\r\n```javascript\r\nconst chalk = require('chalk');\r\nconst log = require('loglevel');\r\nconst prefix = require('loglevel-plugin-prefix');\r\n\r\nconst colors = {\r\n  TRACE: chalk.magenta,\r\n  DEBUG: chalk.cyan,\r\n  INFO: chalk.blue,\r\n  WARN: chalk.yellow,\r\n  ERROR: chalk.red,\r\n};\r\n\r\nprefix.reg(log);\r\nlog.enableAll();\r\n\r\nprefix.apply(log, {\r\n  format(level, name, timestamp) {\r\n    return `${chalk.gray(`[${timestamp}]`)} ${colors[level.toUpperCase()](level)} ${chalk.green(`${name}:`)}`;\r\n  },\r\n});\r\n\r\nprefix.apply(log.getLogger('critical'), {\r\n  format(level, name, timestamp) {\r\n    return chalk.red.bold(`[${timestamp}] ${level} ${name}:`);\r\n  },\r\n});\r\n\r\nlog.trace('trace');\r\nlog.debug('debug');\r\nlog.getLogger('critical').info('Something significant happened');\r\nlog.log('log');\r\nlog.info('info');\r\nlog.warn('warn');\r\nlog.error('error');\r\n```\r\n\r\nOutput\r\n\r\n![output](https://raw.githubusercontent.com/kutuluk/loglevel-plugin-prefix/master/colored.png \"output\")\r\n\r\n## Custom options\r\n\r\n```javascript\r\nconst log = require('loglevel');\r\nconst prefix = require('loglevel-plugin-prefix');\r\n\r\nprefix.reg(log);\r\nlog.enableAll();\r\n\r\nprefix.apply(log, {\r\n  template: '[%t] %l (%n) static text:',\r\n  levelFormatter(level) {\r\n    return level.toUpperCase();\r\n  },\r\n  nameFormatter(name) {\r\n    return name || 'global';\r\n  },\r\n  timestampFormatter(date) {\r\n    return date.toISOString();\r\n  },\r\n});\r\n\r\nlog.info('%s prefix', 'template');\r\n\r\nconst fn = (level, name, timestamp) => `[${timestamp}] ${level} (${name}) static text:`;\r\n\r\nprefix.apply(log, { format: fn });\r\n\r\nlog.info('%s prefix', 'functional');\r\n\r\nprefix.apply(log, { template: '[%t] %l (%n) static text:' });\r\n\r\nlog.info('again %s prefix', 'template');\r\n```\r\n\r\nOutput\r\n```\r\n[2017-05-29T12:53:46.000Z] INFO (global) static text: template prefix\r\n[2017-05-29T12:53:46.000Z] INFO (global) static text: functional prefix\r\n[2017-05-29T12:53:46.000Z] INFO (global) static text: again template prefix\r\n```\r\n\r\n## Option inheritance\r\n\r\n```javascript\r\nconst log = require('loglevel');\r\nconst prefix = require('loglevel-plugin-prefix');\r\n\r\nprefix.reg(log);\r\nlog.enableAll();\r\n\r\nlog.info('root');\r\n\r\nconst chicken = log.getLogger('chicken');\r\nchicken.info('chicken');\r\n\r\nprefix.apply(chicken, { template: '%l (%n):' });\r\nchicken.info('chicken');\r\n\r\nprefix.apply(log);\r\nlog.info('root');\r\n\r\nconst egg = log.getLogger('egg');\r\negg.info('egg');\r\n\r\nconst fn = (level, name) => `${level} (${name}):`;\r\n\r\nprefix.apply(egg, { format: fn });\r\negg.info('egg');\r\n\r\nprefix.apply(egg, {\r\n  levelFormatter(level) {\r\n    return level.toLowerCase();\r\n  },\r\n});\r\negg.info('egg');\r\n\r\nchicken.info('chicken');\r\nlog.info('root');\r\n```\r\n\r\nOutput\r\n```\r\nroot\r\nchicken\r\nINFO (chicken): chicken\r\n[16:53:46] INFO: root\r\n[16:53:46] INFO: egg\r\nINFO (egg): egg\r\ninfo (egg): egg\r\nINFO (chicken): chicken\r\n[16:53:46] INFO: root\r\n```\r\n","maintainers":[{"name":"kutuluk","email":"blooderast@gmail.com"}],"time":{"modified":"2022-05-08T09:37:17.228Z","created":"2017-06-06T10:39:49.098Z","0.4.1":"2017-06-06T10:39:49.098Z","0.4.2":"2017-06-06T12:54:17.468Z","0.5.0":"2017-06-13T10:02:26.604Z","0.5.1":"2017-06-19T10:11:22.889Z","0.5.2":"2017-06-19T10:17:31.555Z","0.5.3":"2017-06-19T10:35:11.945Z","0.6.0":"2018-01-03T12:29:07.110Z","0.7.0":"2018-01-09T07:08:57.061Z","0.7.1":"2018-01-11T09:19:03.080Z","0.7.2":"2018-01-11T11:48:53.798Z","0.8.0":"2018-01-26T09:33:26.014Z","0.8.1":"2018-01-26T11:52:12.235Z","0.8.2":"2018-01-26T12:26:08.835Z","0.8.3":"2018-01-26T12:31:59.805Z","0.8.4":"2018-06-18T06:49:21.604Z"},"homepage":"https://github.com/kutuluk/loglevel-plugin-prefix","keywords":["log","logger","logging","browser","node","prefix","colored","loglevel","plugin"],"repository":{"type":"git","url":"git+ssh://git@github.com/kutuluk/loglevel-plugin-prefix.git"},"author":{"name":"kutuluk"},"bugs":{"url":"https://github.com/kutuluk/loglevel-plugin-prefix/issues"},"license":"MIT","readmeFilename":"README.md"}