{"_id":"express-wolox-logger","_rev":"28-e1f6775bb4e35d732339dbfc3bd3251c","name":"express-wolox-logger","dist-tags":{"latest":"2.1.0","beta":"4.0.0-beta.0"},"versions":{"0.0.1":{"name":"express-wolox-logger","version":"0.0.1","description":"ExpressJS Wolox Logger","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/mpizzagalli/express-logger.git"},"keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"author":{"name":"Wolox"},"license":"MIT","bugs":{"url":"https://github.com/mpizzagalli/express-logger/issues"},"homepage":"https://github.com/mpizzagalli/express-logger#readme","dependencies":{"cls-hooked":"^4.2.2","on-finished":"^2.3.0","pino":"^5.11.1","pino-pretty":"^2.5.0","uuid":"^3.3.2"},"gitHead":"f3768090c00d4b3dab4a4a4f0ff12cd7647c9c12","_id":"express-wolox-logger@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mpizzagalli","email":"matipizza@gmail.com"},"dist":{"integrity":"sha512-oHZqw99RmS77z2/8x3J6do3J3i1Qr8/PupeRuJ4nHwnKFLOU7LDh5s5RxlJCGhRg+ixFbBpgR50992bbN9vD+Q==","shasum":"74ab78d59ad673c425eb898abd06e53292ee9b03","tarball":"https://registry.npmjs.org/express-wolox-logger/-/express-wolox-logger-0.0.1.tgz","fileCount":4,"unpackedSize":2635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2shRCRA9TVsSAnZWagAAausP/2f1FOwsn+qjDi4Wnm0n\nYWhurAY5gvB2pitbuUYOOT/uKyUktG/pPGTgvDggNWRtN91seINbXu55sHce\n2S+N7w5kDDmnea74z0zmzzgj3NhSF8K5v8RshzieIhMEKXbMtt/KzFC9wpfw\nQi+LHIieyiunk0i+GHD+kKDT9KJz2ZAh23fpCQcoE3dbQj5z9FwFxkTJxNJ5\nJDpTZHyjuY528sSmQ/QWj81PWZMSZEm666h1X5Geg7t0X0xv5/FmvEDiQN4C\nypnhoPS49xbh3zkFgqBxKkPljpgXG/n867X3ZMOdB4ejxg3iDo84RLmiYpKf\nZfWpb4gsvj3ET3pVvb91iJt57nyJ4qaF3NRw1B6NFCXfgE07w2opn8khCNnj\nhIwXD0ivsrMHFMahpMHx/4ryFMH3NZ6cssSplbq60SBQAsO13FoAWxMofThf\nqxb968UKax/0xGj8pCc1LXUhM3tQG0nH7Xl/c5nmNPhQNKQEKkN4muti9wut\nqOrWcGPUeSldW2cOI/BOEkvh0TtdiyfQ64tqTtM0CVQ6c6Dy/aZ1bJy9VwjH\na+iDfhfxkgwj0y2T1r/5ZaohgxotftT/PPPAxuK8PQ+xDhr1jZoi0Ug9z388\nJFpUG7l8gW2/KlrsjNis9b76dNUpN2WD8KUENz85BXcstmqimUdDSNEKOcnm\nfiY+\r\n=W/xV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFd4TqoSJm39Sa76vxl62uBIYHGJgxfzIztCILLnIoDyAiEA/Glu+uKDU+yAlD4oBxFriMZ/EHXVpNRhnU0jrwulIdE="}]},"maintainers":[{"name":"mpizzagalli","email":"matipizza@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-wolox-logger_0.0.1_1557842000555_0.6697402372278332"},"_hasShrinkwrap":false},"0.0.2":{"name":"express-wolox-logger","version":"0.0.2","description":"ExpressJS Wolox Logger","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/Wolox/express-wolox-logger.git"},"keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"author":{"name":"Wolox"},"license":"MIT","bugs":{"url":"https://github.com/Wolox/express-wolox-logger/issues"},"homepage":"https://github.com/Wolox/express-wolox-logger#readme","dependencies":{"cls-hooked":"^4.2.2","on-finished":"^2.3.0","pino":"^5.11.1","pino-pretty":"^2.5.0","uuid":"^3.3.2"},"gitHead":"5a4c7a2af7bd03ff98eeee079bcd094591f855f8","_id":"express-wolox-logger@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"mpizzagalli","email":"matipizza@gmail.com"},"dist":{"integrity":"sha512-8+xzcDyP4QHC0ZhFFH16Hf7TO9xJWqYpfrZuOKK93JxRzbq+bnOKUgpOPbiFJJJgqM2ekAbLqEcSeXuQe7fl4A==","shasum":"06b89625d9e5b444aadf3a9f663c072fdc2850f5","tarball":"https://registry.npmjs.org/express-wolox-logger/-/express-wolox-logger-0.0.2.tgz","fileCount":5,"unpackedSize":5919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3aaMCRA9TVsSAnZWagAAKNIQAI2EgatjST8/1lxlEUGg\nu75yrqRrtbTlALicGAm4XIfqWIbH7s1eU4YvCjLBGoYeC/84CrOj9mELz7Iv\nLTvdCI9l/pewPk6jE261u+ah4Ga6uMXv4CIjKiHtatEA6euyV7ggBw1YB9Hu\ndmiYmHvd+CrSImLtfD5beBgiav40xYHR+2GGJ7P+3OZQPKNAkSiUD1au7kzR\nSJTe4FLNSwaDq3cl3PfklH/ijANWAjYviwk5kTL9CSuNk0kG1e9ZCdveWXw0\n+orQ19j5ik4zKwIx4HO/LAGV9anIo5COFoXQUs0c4a0/IFCoN0KjWOYalO8y\nAwGUUmJRxT0wgNMekjNHHvGAr5jzmKL881XYMKkws4EWrzmnBbSxkfWjbq9d\nYUQ2k+bF9tptammVZK8JBsGPh7sTUdBqyUkt9a6mz60ZLYym9sgl1m12OinI\n+luI5tHvubaV6N6FUcEE2WNLovq7C5EJQD178j+iM9n7sczzEEVybu4Q9VjG\n8PGnHmqy9SraDJZjyxCTIS7jWM2LePzv0zgG5iBLkne8MH8RSn4Mbxyxt7t2\nMofgSkAkQxu8kRrCIcIU2FnsUYwXO3OsihT23zFo53x6YsIAavCvS26ZNq5E\n2ECATyKnVcu40fNijvm59i9obW8SGsvUDz146/y5yc7/pg1TUAp0lQZIwvW5\nY1KH\r\n=nI7H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBMQbKnXazZ6QeaaRslc0F1RpTfDxvhU/osjmxE7Rs67AiAXXzzXQjW8vj2EzniGHDmc6Irir6yLqeRxsaxbrCEVoQ=="}]},"maintainers":[{"email":"braiandickson@gmail.com","name":"braiandickson"},{"email":"damfinkel@gmail.com","name":"damfinkel"},{"email":"francisco.iglesias@wolox.com.ar","name":"frankiglesias"},{"email":"gonziesc@gmail.com","name":"gonziesc"},{"email":"ignacio.abadie@wolox.com.ar","name":"iabadie"},{"email":"igna_torres92@hotmail.com","name":"igna92ts"},{"email":"ignacio.santise@wolox.com.ar","name":"ignacio.santise"},{"email":"martin.callegari@wolox.com.ar","name":"martincallegari"},{"email":"meelrossi@gmail.com","name":"meelrossi"},{"email":"martin.picollo@wolox.com.ar","name":"mpicollo-wolox"},{"email":"matipizza@gmail.com","name":"mpizzagalli"},{"email":"mvbattan@gmail.com","name":"mvbattan"},{"email":"nao.passarelli@gmail.com","name":"nao.passarelli"},{"email":"pablo.cid@wolox.com.ar","name":"pabloccid"},{"email":"pablo.ferro@wolox.com.ar","name":"pabloferro"},{"email":"alan.rinaldi@wolox.com.ar","name":"rinaldia118"},{"email":"sebastian.balay@wolox.com.ar","name":"sebbal"},{"email":"gabriel.zanzotti@gmail.com","name":"skolz"},{"email":"walterfolini@gmail.com","name":"wfolini"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-wolox-logger_0.0.2_1558029963572_0.08230254423138827"},"_hasShrinkwrap":false},"0.0.3":{"name":"express-wolox-logger","version":"0.0.3","description":"ExpressJS Wolox Logger","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/Wolox/express-wolox-logger.git"},"keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"author":{"name":"Wolox"},"license":"MIT","bugs":{"url":"https://github.com/Wolox/express-wolox-logger/issues"},"homepage":"https://github.com/Wolox/express-wolox-logger#readme","dependencies":{"cls-hooked":"^4.2.2","on-finished":"^2.3.0","pino":"^5.11.1","pino-pretty":"^2.5.0","uuid":"^3.3.2"},"gitHead":"8beb2ffdc756ec0d759eeae43981a91b1573c7cc","_id":"express-wolox-logger@0.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mpicollo-wolox","email":"martin.picollo@wolox.com.ar"},"dist":{"integrity":"sha512-S4i4kDYGOgmIlFxlgWd3ItRi72VlCPbfSff0POXRdSIidsQFuDLF/X7JQLUt9ATeAcMkVXlhju0UuL78mV/7Yw==","shasum":"7f7f24f4a46c5017c0c83017cf74d394e4ea62c4","tarball":"https://registry.npmjs.org/express-wolox-logger/-/express-wolox-logger-0.0.3.tgz","fileCount":5,"unpackedSize":5995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdN3ojCRA9TVsSAnZWagAAAV0P/1jQjrpcxtgKAyTNTX2D\nRVil+TiR8102IVnUPhFxqcHGhNTErmIUV7tEejC33S5G18wkd9g+MjAQ+Tts\n3M1M2UNlsSqQLz/OCNuwsIGElaCmID2veSxdVWnUZ4W9GDTvtlw4xD25KK+p\nFa+5yaVaBiE5adPs5dXYQFf6qmCCMFB2EjNjuBJr/6lGAKBlc/ljKCj9RB9b\nuW6Z8zLv3RSeGWgnJwN8FKmbtl7YGeg0Xq7+AaptioX9ek4EYr2XfmlGmgEW\nphA1j0F4mO+K2zTgD37nyEpm9DOr5DXoqyXS0vS4FVxv8Tmq2JJVH6e/VxoO\n2kDnAGGUnIlnztb1AdbslardLgJfpkG1nVSg7n9yw+nLx8sMn1Gvj9Q7b5Pz\nttlHx+GVaKXHXNUa/15Fznp/yVpEtLAW5NOjtUXKyw238kO4mfVmzcEZ/IDE\ngN/D1zbNh+ZUh/4WcIGGEddJGSPqhkpc9gd6KU850uBd99gAN8t/4WTF3nyy\nob/xX3mAtrk/wTMTg062V0zebMW/6DJBbK9ayEXP+Qln53fUW+pNQegbb2G3\n+dKvN028XVGR9b7CyFkxxjrRHvQJVkZSUN8ARg/kmY23vtAHg+U1Vv7Rc+De\nsQYoe+GtyUeM2rUVSVn9nvm+ZU/ttz54hoJTQ1r1C7SC48ulwKhbWRIUTHn2\nwjps\r\n=qiKU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEKWsJvHmr26lPpLOGFh0Jwk8lMbdlV9h+43ZoLncCEwIhAJiraLpSkiXipyGLnjqgYFiMGAMiic93Rk6vnPEP9Wu1"}]},"maintainers":[{"email":"braiandickson@gmail.com","name":"braiandickson"},{"email":"damfinkel@gmail.com","name":"damfinkel"},{"email":"francisco.iglesias@wolox.com.ar","name":"frankiglesias"},{"email":"gonziesc@gmail.com","name":"gonziesc"},{"email":"ignacio.abadie@wolox.com.ar","name":"iabadie"},{"email":"igna_torres92@hotmail.com","name":"igna92ts"},{"email":"ignacio.santise@wolox.com.ar","name":"ignacio.santise"},{"email":"martin.callegari@wolox.com.ar","name":"martincallegari"},{"email":"meelrossi@gmail.com","name":"meelrossi"},{"email":"martin.picollo@wolox.com.ar","name":"mpicollo-wolox"},{"email":"matipizza@gmail.com","name":"mpizzagalli"},{"email":"mvbattan@gmail.com","name":"mvbattan"},{"email":"nao.passarelli@gmail.com","name":"nao.passarelli"},{"email":"pablo.cid@wolox.com.ar","name":"pabloccid"},{"email":"pablo.ferro@wolox.com.ar","name":"pabloferro"},{"email":"alan.rinaldi@wolox.com.ar","name":"rinaldia118"},{"email":"sebastian.balay@wolox.com.ar","name":"sebbal"},{"email":"gabriel.zanzotti@gmail.com","name":"skolz"},{"email":"walterfolini@gmail.com","name":"wfolini"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-wolox-logger_0.0.3_1563916835285_0.6144255589856527"},"_hasShrinkwrap":false},"1.0.0":{"name":"express-wolox-logger","version":"1.0.0","description":"ExpressJS Wolox Logger","main":"index.js","scripts":{"eslint-check":"eslint --print-config .eslintrc.js --ignore-pattern ./.eslintrc.js | eslint-config-prettier-check","lint":"eslint \"**/*.js\" --ignore-pattern ./.eslintrc.js","lint-diff":"git diff --name-only --cached --relative | grep \\\\.js$ | xargs eslint","lint-fix":"eslint \"**/*.js\" --fix --ignore-pattern ./.eslintrc.js","pretest":"npm run lint","test":"jest --runInBand","coverage":"jest --coverage"},"repository":{"type":"git","url":"git+ssh://git@github.com/Wolox/express-wolox-logger.git"},"keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"author":{"name":"Wolox"},"license":"MIT","bugs":{"url":"https://github.com/Wolox/express-wolox-logger/issues"},"homepage":"https://github.com/Wolox/express-wolox-logger#readme","jest":{"testEnvironment":"node","testMatch":["**/test/**/*.spec.js?(x)"],"clearMocks":true},"husky":{"hooks":{"pre-commit":"npm run lint-diff"}},"dependencies":{"cls-hooked":"^4.2.2","on-finished":"^2.3.0","pino":"^5.11.1","pino-pretty":"^2.5.0","shortid":"^2.2.14"},"devDependencies":{"eslint":"^5.9.0","eslint-config-wolox":"^2.3.0","eslint-config-wolox-node":"^1.0.0","eslint-plugin-prettier":"^3.1.0","husky":"^2.3.0","jest":"^24.8.0","prettier":"^1.17.1","prettier-eslint":"^8.8.2","supertest":"^4.0.2"},"gitHead":"c7f4c4e8682c0c1411068ed85a9721e1507d4a1b","_id":"express-wolox-logger@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"mpicollo-wolox","email":"martin.picollo@wolox.com.ar"},"dist":{"integrity":"sha512-GhaNCKI3f7Ydj3YgT2bOwICuZzL+Lz8hJd/U7nb9XURCyVxKGmyCaxtm/B6xWNAgDOO22eiSbmgS3mhcyklWLg==","shasum":"7e1e73abe73e91d024311496888b10cc4489cfcb","tarball":"https://registry.npmjs.org/express-wolox-logger/-/express-wolox-logger-1.0.0.tgz","fileCount":14,"unpackedSize":18384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdN3o9CRA9TVsSAnZWagAAKVoP/R/jQDI+LKLkdontmbR4\nW6ipOKhzBrMp/9LO5F3CE91K/0TZ8E9YCBO6E/6Yh3Q251FGv58wuA0lZk/T\nHiYm3769XaNvmF2FVdsjjWyp1DbzAHSbRxDU7M7ueJmDhuH7G1WOCvysMmg+\ny5A6Igw3EDSH0Ca9WUmvr0wYRqbG9kO0oI4j2uoEEztsl3TF2Y7pIxMYqUBm\ncDHkti1pMDRVC/YDeMeqZZfB4TSmWMW3Taev94RUKJjHfnQuKu4RRv7GlPcK\nYmW49Ar/smxKr9PLcGaIDe2MeggcG1Wbv74amKlKdq7b2+MUnt8NGDPuB3jt\no9W8uG3c23VrMlegskSSLeytbarYf/lv39eiDRmJ9XivcwTxoOw3D3V2EWls\nta8Oos1+i41ibaqIdFV/ThwJA7T+V1pvxWXn4wArmsvU+kKZV+1oTquCQg5q\nTbXiRXO4xuMQSzEg0sOwq3i8FejvJjhx8tARE6Xpl2/Ges7B/L6ImSgzI4xM\nWEaw0x5bp+ClQTapIL10uW2ZBDhy/rg8vLOIhkRkYCTUNb2fQuFDWBXEggOJ\n7/zkFGUP7Z3pbtNKPuOcr/uieL0L+JCqdhVLqbXAo6anQS8vZ8UH4tAwV6g/\n2Zi8dV1N84fR1EH0f0NBa/zTGIwv0fZjm1IkHMIc0LRrqFGqaoVA4IqM1C22\nYjjr\r\n=gyOz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBW5ld3zq5IYUYepMRLxEDZqoNAx3RT3ITYPctEfkWvvAiBGIr3X/VKktVvRqrxtJ78LYyrQ8GyPxbwIuUF/8xyySw=="}]},"maintainers":[{"email":"braiandickson@gmail.com","name":"braiandickson"},{"email":"damfinkel@gmail.com","name":"damfinkel"},{"email":"francisco.iglesias@wolox.com.ar","name":"frankiglesias"},{"email":"gonziesc@gmail.com","name":"gonziesc"},{"email":"ignacio.abadie@wolox.com.ar","name":"iabadie"},{"email":"igna_torres92@hotmail.com","name":"igna92ts"},{"email":"ignacio.santise@wolox.com.ar","name":"ignacio.santise"},{"email":"martin.callegari@wolox.com.ar","name":"martincallegari"},{"email":"meelrossi@gmail.com","name":"meelrossi"},{"email":"martin.picollo@wolox.com.ar","name":"mpicollo-wolox"},{"email":"matipizza@gmail.com","name":"mpizzagalli"},{"email":"mvbattan@gmail.com","name":"mvbattan"},{"email":"nao.passarelli@gmail.com","name":"nao.passarelli"},{"email":"pablo.cid@wolox.com.ar","name":"pabloccid"},{"email":"pablo.ferro@wolox.com.ar","name":"pabloferro"},{"email":"alan.rinaldi@wolox.com.ar","name":"rinaldia118"},{"email":"sebastian.balay@wolox.com.ar","name":"sebbal"},{"email":"gabriel.zanzotti@gmail.com","name":"skolz"},{"email":"walterfolini@gmail.com","name":"wfolini"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-wolox-logger_1.0.0_1563916860578_0.9618090105690136"},"_hasShrinkwrap":false},"1.1.0":{"name":"express-wolox-logger","version":"1.1.0","description":"ExpressJS Wolox Logger","main":"index.js","scripts":{"eslint-check":"eslint --print-config .eslintrc.js --ignore-pattern ./.eslintrc.js | eslint-config-prettier-check","lint":"eslint \"**/*.js\" --ignore-pattern ./.eslintrc.js","lint-diff":"git diff --name-only --cached --relative | grep \\\\.js$ | xargs eslint","lint-fix":"eslint \"**/*.js\" --fix --ignore-pattern ./.eslintrc.js","pretest":"npm run lint","test":"jest --runInBand","coverage":"jest --coverage"},"repository":{"type":"git","url":"git+ssh://git@github.com/Wolox/express-wolox-logger.git"},"keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"author":{"name":"Wolox"},"license":"MIT","bugs":{"url":"https://github.com/Wolox/express-wolox-logger/issues"},"homepage":"https://github.com/Wolox/express-wolox-logger#readme","jest":{"testEnvironment":"node","testMatch":["**/test/**/*.spec.js?(x)"],"clearMocks":true},"husky":{"hooks":{"pre-commit":"npm run lint-diff"}},"dependencies":{"cls-hooked":"^4.2.2","on-finished":"^2.3.0","pino":"^5.11.1","pino-pretty":"^2.5.0","shortid":"^2.2.14"},"devDependencies":{"body-parser":"^1.19.0","eslint":"^5.9.0","eslint-config-wolox":"^2.3.0","eslint-config-wolox-node":"^1.0.0","eslint-plugin-prettier":"^3.1.0","husky":"^2.3.0","jest":"^24.8.0","prettier":"^1.17.1","prettier-eslint":"^8.8.2","supertest":"^4.0.2"},"gitHead":"aca4e355896e387664be1d4f8f531bad79750587","_id":"express-wolox-logger@1.1.0","_npmVersion":"6.5.0","_nodeVersion":"10.14.1","_npmUser":{"name":"mpicollo-wolox","email":"martin.picollo@wolox.com.ar"},"dist":{"integrity":"sha512-hBoJNIbecOvEO9HHM0vuBCk+fj56Jht+q0egaRBuutmNxhiDx4hSne3sSbsNT/GLu0v58kr/B2T9Z75o+zIwTA==","shasum":"05d15cbb1bea86c426f7989e32ceb250418512f6","tarball":"https://registry.npmjs.org/express-wolox-logger/-/express-wolox-logger-1.1.0.tgz","fileCount":15,"unpackedSize":23162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVGIuCRA9TVsSAnZWagAA8vQP/261Xo+vpvWjCl8XMHkz\nZ+T16HvgogTnESJK/lGhrzl6nIqlhbdk0umZ4K3xRO+zagMLjpwP7v7ZP1zY\nsHdkocn3xpFPhSf3uMwINw2EcqGgbJdr3FoQjO2A5i74zeaygW2Qz7LbtWaR\nzZfPsyefnt3Z0XS/a/+oNMvQlg8YkYyBi0qdNHPwZOmAgZyTwiCUL4RLbYtg\nzYpiK/5ELOhOWEs6yfkKiFR4w/4apV6R+6J3BaUDji1UDEEiQHGXOIxNh2ig\n4/rxjPb3fZsu97b7MO9kz8hJKdDuEfkWyF6uEqLhg3YQAU8XTGomhH4gH117\nf+33iMKRh+xdFtet3Yl9ACQvusBLOpdRYjWjdhzFaW6ABZAz3OJq1gTPhKF0\n/rDyNtroeth87hs+VQk1NGZ3eMeKPr3pHDkFRjUK5h4qqK03Qz50kpncIX0V\n30h3UbOHpRei4ro4OA4pXVkNW/CkEnsdOBJHVmikHVaiIcDFwN1TYzcO858n\nWar7C0f2A/0F4qFvq126SRoKvLIfhpawBIVI3dRzg0/16U59+BYAoa8HbRRW\nYswcOnHwTrCrjqz39AkOz2dvbonOzwFqravTaz8ySJtDblBZUMw4/A6ctg86\nolIez3CRK7XDpRsalroBkoJQOs7P+RZaUzs1QSRF7dpjPyzR/gmthkQq0cor\ngAVH\r\n=vk5a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDT9IEB14pXqHKkSPrE/BEteZ7Tyu3yDccaTHXT5QVJ4AiEA/RzhzyRyW1Q+KW1kOrQ5Fu8uSPY8H3LkUXV21w0cShs="}]},"maintainers":[{"email":"braiandickson@gmail.com","name":"braiandickson"},{"email":"damfinkel@gmail.com","name":"damfinkel"},{"email":"francisco.iglesias@wolox.com.ar","name":"frankiglesias"},{"email":"gonziesc@gmail.com","name":"gonziesc"},{"email":"ignacio.abadie@wolox.com.ar","name":"iabadie"},{"email":"igna_torres92@hotmail.com","name":"igna92ts"},{"email":"ignacio.santise@wolox.com.ar","name":"ignacio.santise"},{"email":"martin.callegari@wolox.com.ar","name":"martincallegari"},{"email":"meelrossi@gmail.com","name":"meelrossi"},{"email":"martin.picollo@wolox.com.ar","name":"mpicollo-wolox"},{"email":"matipizza@gmail.com","name":"mpizzagalli"},{"email":"mvbattan@gmail.com","name":"mvbattan"},{"email":"nao.passarelli@gmail.com","name":"nao.passarelli"},{"email":"pablo.cid@wolox.com.ar","name":"pabloccid"},{"email":"pablo.ferro@wolox.com.ar","name":"pabloferro"},{"email":"alan.rinaldi@wolox.com.ar","name":"rinaldia118"},{"email":"sebastian.balay@wolox.com.ar","name":"sebbal"},{"email":"gabriel.zanzotti@gmail.com","name":"skolz"},{"email":"walterfolini@gmail.com","name":"wfolini"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-wolox-logger_1.1.0_1565811245095_0.5153995611218469"},"_hasShrinkwrap":false},"2.0.0":{"name":"express-wolox-logger","version":"2.0.0","description":"ExpressJS Wolox Logger","main":"index.js","scripts":{"eslint-check":"eslint --print-config .eslintrc.js --ignore-pattern ./.eslintrc.js | eslint-config-prettier-check","lint":"eslint \"**/*.js\" --ignore-pattern ./.eslintrc.js","lint-diff":"git diff --name-only --cached --relative | grep \\\\.js$ | xargs eslint","lint-fix":"eslint \"**/*.js\" --fix --ignore-pattern ./.eslintrc.js","pretest":"npm run lint","test":"jest --runInBand","coverage":"jest --coverage","bench":"node lib/benchmarks.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/Wolox/express-wolox-logger.git"},"keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"author":{"name":"Wolox"},"license":"MIT","bugs":{"url":"https://github.com/Wolox/express-wolox-logger/issues"},"homepage":"https://github.com/Wolox/express-wolox-logger#readme","jest":{"testEnvironment":"node","testMatch":["**/test/**/*.spec.js?(x)"],"clearMocks":true},"husky":{"hooks":{"pre-commit":"npm run lint-diff"}},"dependencies":{"cls-hooked":"^4.2.2","on-finished":"^2.3.0","pino":"^5.11.1","pino-pretty":"^3.6.0","shortid":"^2.2.14"},"devDependencies":{"body-parser":"^1.19.0","eslint":"^5.9.0","eslint-config-wolox":"^2.3.0","eslint-config-wolox-node":"^1.0.0","eslint-plugin-prettier":"^3.1.0","fastbench":"^1.0.1","husky":"^4.2.3","jest":"^25.1.0","os":"^0.1.1","prettier":"^1.17.1","prettier-eslint":"^8.8.2","supertest":"^4.0.2"},"gitHead":"6e4b4dca7f887200d519d0944dda5c13092722cc","_id":"express-wolox-logger@2.0.0","_nodeVersion":"12.16.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-Mkaoq3gxXUs0zDkkBvcwD+QhVzvAjN9qILU1ZqskhPLcm4GbVFD2n6LMiIT/rkK5Luy4f1ZfyxBgCo347qSGbg==","shasum":"18a80e683a56b41d02f0317f7f6dacf93c8416a2","tarball":"https://registry.npmjs.org/express-wolox-logger/-/express-wolox-logger-2.0.0.tgz","fileCount":22,"unpackedSize":28479,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTbDSCRA9TVsSAnZWagAASbMQAIoEJlR9LRw88pGV+LFS\nBvUuqeKGYMaG8rHagUnRo7lpipHWBBqlHr/JwuzgsS7FszmiK35cdaElqTv9\nC/r9ctEamTnTkNudSGZMJfbLp+LEu677FEfX9FjcjHdKEuD39dtxlY6AeFBo\nK4SiHsM/kXy5wVnnMSZamTYtQDv5MUzDJVv9cYZwq8onxINQl3yYUXsGO+5f\nolP8eiqOzCNmPbPd9EJ+eltFrd91EhoogvFv2a7tR2xFUXPkEvPTewfWGutQ\n9YfVOpfvxIj5r5pmwBARk4O84OAO1XFodhIDdz4FwzGPIqnBRcGOsnkeT+Rt\nKovADg24z2vidoOiRWNffYJsVvwBjHE00gXSXKRGb+ByGr+zjFVi61Ei50ie\n4pbKA2DCLTZ5Oc1I5Wh5jQG7EwyN5Nb+US4cYGeRbXEbovH3H4yCSEYUDs1R\na/BkESIVJu8J3so8fhwMCntiVfOnDJA5DCmbfR0BXwXN6UTzx3ywJZ2AwjC5\nAeMu5lpo7vLEeP1T9y9nyYTVLZlLKoqsFxLrP/2dPtZqGaxtRyR8q99X5qXD\nzA3Z2KMI7wDjs10NA1DBbK8rV05w6PMhZ5OXVfZ3fQEXHx4DrD57lfkQvLOy\n+TFyE4U4UNXooo/0Y0OSKU1CqLkFjri+rrazFjaY6C8Dm9seRuPOPP7EKDwe\nCtGN\r\n=dLq5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEqGp3i9a4T9xqW476PMnkiqUXFhMCaLWECxcY6yO6mGAiB+zCA8866u+EATeDa5ZnMunjuHLamaeymuyVjaAqYz0g=="}]},"maintainers":[{"email":"braiandickson@gmail.com","name":"braiandickson"},{"email":"damfinkel@gmail.com","name":"damfinkel"},{"email":"francisco.iglesias@wolox.com.ar","name":"frankiglesias"},{"email":"gonziesc@gmail.com","name":"gonziesc"},{"email":"ignacio.abadie@wolox.com.ar","name":"iabadie"},{"email":"igna_torres92@hotmail.com","name":"igna92ts"},{"email":"ignacio.santise@wolox.com.ar","name":"ignacio.santise"},{"email":"alvarezjulianignacio@gmail.com","name":"jjuli93"},{"email":"lucas.medrano@wolox.com.ar","name":"lucasmedrano"},{"email":"martin.callegari@wolox.com.ar","name":"martincallegari"},{"email":"meelrossi@gmail.com","name":"meelrossi"},{"email":"martin.picollo@wolox.com.ar","name":"mpicollo-wolox"},{"email":"matipizza@gmail.com","name":"mpizzagalli"},{"email":"mvbattan@gmail.com","name":"mvbattan"},{"email":"nao.passarelli@gmail.com","name":"nao.passarelli"},{"email":"pablo.cid@wolox.com.ar","name":"pabloccid"},{"email":"pablo.ferro@wolox.com.ar","name":"pabloferro"},{"email":"rodrigoaparicio6@gmail.com","name":"raparicio6"},{"email":"alan.rinaldi@wolox.com.ar","name":"rinaldia118"},{"email":"fernandezsantid@gmail.com","name":"rorosf"},{"email":"sebastian.balay@wolox.com.ar","name":"sebbal"},{"email":"gabriel.zanzotti@gmail.com","name":"skolz"},{"email":"walterfolini@gmail.com","name":"wfolini"}],"_npmUser":{"name":"mpicollo-wolox","email":"martin.picollo@wolox.com.ar"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-wolox-logger_2.0.0_1582149841514_0.7604105541182602"},"_hasShrinkwrap":false},"3.0.0":{"name":"express-wolox-logger","version":"3.0.0","description":"ExpressJS Wolox Logger","main":"index.js","scripts":{"eslint-check":"eslint --print-config .eslintrc.js --ignore-pattern ./.eslintrc.js | eslint-config-prettier-check","lint":"eslint \"**/*.js\" --ignore-pattern ./.eslintrc.js","lint-diff":"git diff --name-only --cached --relative | grep \\\\.js$ | xargs eslint","lint-fix":"eslint \"**/*.js\" --fix --ignore-pattern ./.eslintrc.js","pretest":"npm run lint","test":"jest --runInBand","coverage":"jest --coverage","bench":"node lib/benchmarks.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/Wolox/express-wolox-logger.git"},"keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"author":{"name":"Wolox"},"license":"MIT","bugs":{"url":"https://github.com/Wolox/express-wolox-logger/issues"},"homepage":"https://github.com/Wolox/express-wolox-logger#readme","jest":{"testEnvironment":"node","testMatch":["**/test/**/*.spec.js?(x)"],"clearMocks":true},"husky":{"hooks":{"pre-commit":"npm run lint-diff"}},"dependencies":{"cls-hooked":"^4.2.2","on-finished":"^2.3.0","pino":"^6.3.1","pino-pretty":"^4.0.0","shortid":"^2.2.14"},"devDependencies":{"body-parser":"^1.19.0","eslint":"^6.8.0","eslint-config-wolox":"^4.0.0","eslint-config-wolox-node":"^3.0.0","eslint-plugin-import":"^2.20.2","eslint-plugin-prettier":"^3.1.3","fastbench":"^1.0.1","husky":"^4.2.5","jest":"^26.0.1","os":"^0.1.1","prettier":"^1.17.1","prettier-eslint":"^9.0.2","supertest":"^4.0.2"},"gitHead":"86395072ac1352fec7e698628adfcb2216dbe09a","_id":"express-wolox-logger@3.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-aI3Wocb3pEv12F53q96wFZkigFXyHI4R+1uBtN8eXgb6GN9P5nIT/4t/5Yz1NYu6YieK9Xisy6z/dF6c5vLtdg==","shasum":"67c616365b7a20d7e9348d3d6555a2a441429ff4","tarball":"https://registry.npmjs.org/express-wolox-logger/-/express-wolox-logger-3.0.0.tgz","fileCount":22,"unpackedSize":30376,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2R33CRA9TVsSAnZWagAAHtAQAJjFOAWINeS8O/41l7CA\nQrg8h9IaSOsUcK1QaE371MIcnbW1E6tzYyYrzXpO/sMipRuRpsGLVsdBspV1\naDXa4h+WyZiuhhM2vt+Wbyx58X2DGP2UmR1yINQhUF8YEw5Mhq5qEcLxFyUv\nlyf6Oh5kyFYrEaLLMAwZnLsCw11uvYs5oxlqyqsbhocRItRoqcbc4wdxsTN3\ncs/G0sjheKi/spvtkGVO0M88tnIlYUnnp3wmLSFifMcWFrJh0h4ZP+i/XcGF\nngMX3+Ic+8iBoJOd6CX4lyGl+BgoGGRybhnxET4Ita/E4xaP4pO/GZWOtd7W\n7vdqoF8W0hWjGM36D6kqh09g0qkVWyK8+RSlSEFfKz1L+IQ0sJjf9drgdnIX\nlIkt/7YlenkCWv3G1/FZ9GYIpNTImtvsLb9EDRw7Mg6W5B2LdkZUq9MgPH8h\noMcxG74iH/CS0YOr8LfOtbBRCilsjCm5FOVYZUxeTCZsGHJHphZBDs/ojrky\neJzQNoNDXOqAUqnXKrr75u0kCzTIOEUIeTFDdrUazu+r9YegLej0BPFdMIIT\nbmqQd6L9BseaEsC/rWx/w5AWJwLsRg/ktzcfLZdEpp69jTAVZ78WSPj6XSXG\nDhy+YEVGBBKkWxRpD5DB58fRJp3oeO0cJtI3zFst1lE89N3jDInYxMKUsb2K\ns+jG\r\n=2HsW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFETNniLDlcrzywIla2ay+ifoGi+k9Nel02zJ2Y2GdqwAiEAjvtakDO71JTvcFQ+Bh6EXcJCDufXkbsiLE6lYm+x3PM="}]},"maintainers":[{"email":"braiandickson@gmail.com","name":"braiandickson"},{"email":"damfinkel@gmail.com","name":"damfinkel"},{"email":"francisco.iglesias@wolox.com.ar","name":"frankiglesias"},{"email":"gonziesc@gmail.com","name":"gonziesc"},{"email":"ignacio.abadie@wolox.com.ar","name":"iabadie"},{"email":"igna_torres92@hotmail.com","name":"igna92ts"},{"email":"ignacio.santise@wolox.com.ar","name":"ignacio.santise"},{"email":"alvarezjulianignacio@gmail.com","name":"jjuli93"},{"email":"lucas.medrano@wolox.com.ar","name":"lucasmedrano"},{"email":"martin.callegari@wolox.com.ar","name":"martincallegari"},{"email":"meelrossi@gmail.com","name":"meelrossi"},{"email":"martin.picollo@wolox.com.ar","name":"mpicollo-wolox"},{"email":"matipizza@gmail.com","name":"mpizzagalli"},{"email":"mvbattan@gmail.com","name":"mvbattan"},{"email":"nao.passarelli@gmail.com","name":"nao.passarelli"},{"email":"pablo.cid@wolox.com.ar","name":"pabloccid"},{"email":"pablo.ferro@wolox.com.ar","name":"pabloferro"},{"email":"rodrigoaparicio6@gmail.com","name":"raparicio6"},{"email":"alan.rinaldi@wolox.com.ar","name":"rinaldia118"},{"email":"fernandezsantid@gmail.com","name":"rorosf"},{"email":"sebastian.balay@wolox.com.ar","name":"sebbal"},{"email":"gabriel.zanzotti@gmail.com","name":"skolz"},{"email":"walterfolini@gmail.com","name":"wfolini"}],"_npmUser":{"name":"mpicollo-wolox","email":"martin.picollo@wolox.com.ar"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-wolox-logger_3.0.0_1591287287136_0.855829053911825"},"_hasShrinkwrap":false},"3.1.0":{"name":"express-wolox-logger","version":"3.1.0","description":"ExpressJS Wolox Logger","main":"index.js","scripts":{"eslint-check":"eslint --print-config .eslintrc.js --ignore-pattern ./.eslintrc.js | eslint-config-prettier-check","lint":"eslint \"**/*.js\" --ignore-pattern ./.eslintrc.js","lint-diff":"git diff --name-only --cached --relative | grep \\\\.js$ | xargs eslint","lint-fix":"eslint \"**/*.js\" --fix --ignore-pattern ./.eslintrc.js","pretest":"npm run lint","test":"jest --runInBand","coverage":"jest --coverage","bench":"node lib/benchmarks.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/Wolox/express-wolox-logger.git"},"keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"author":{"name":"Wolox"},"license":"MIT","bugs":{"url":"https://github.com/Wolox/express-wolox-logger/issues"},"homepage":"https://github.com/Wolox/express-wolox-logger#readme","jest":{"testEnvironment":"node","testMatch":["**/test/**/*.spec.js?(x)"],"clearMocks":true},"husky":{"hooks":{"pre-commit":"npm run lint-diff"}},"dependencies":{"cls-hooked":"^4.2.2","on-finished":"^2.3.0","pino":"^6.3.1","pino-pretty":"^4.0.0","shortid":"^2.2.14"},"devDependencies":{"body-parser":"^1.19.0","eslint":"^6.8.0","eslint-config-wolox":"^4.0.0","eslint-config-wolox-node":"^3.0.0","eslint-plugin-import":"^2.20.2","eslint-plugin-prettier":"^3.1.3","fastbench":"^1.0.1","husky":"^4.2.5","jest":"^26.0.1","os":"^0.1.1","prettier":"^1.17.1","prettier-eslint":"^9.0.2","supertest":"^4.0.2"},"gitHead":"bfe9ad78b32338aa17145b398a1876fc768c8d2d","_id":"express-wolox-logger@3.1.0","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-gIjzImR7fr7q2tggoCVtQr+nIONRBKu+M7sSHf9Gc/gIJAZXkJ0Q+LEXWesUhpsivfQfDb/XmExDhJsRlNXXIA==","shasum":"b3073889673f4c6ccc74be6b5ea4d07a372c2389","tarball":"https://registry.npmjs.org/express-wolox-logger/-/express-wolox-logger-3.1.0.tgz","fileCount":22,"unpackedSize":31976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDJ+BCRA9TVsSAnZWagAA05MP/jW6FKts8WynVy/Yw9yN\n7di1LbCgmlwrTgMurF4/DmqDaTTR5lvOyVMox0FguUzry5OoSh9+KPhzBkky\n4etDXwvk0qyscyNreuVCIKgyw/f86I8Lqhd1Skd9pHpJFBDlb+vz34EHpr+c\n2kO7zIoprREy/wQarT0rFLJaTDS+LtR7w3mYx5QfHRZAnzjk6QBlFaVpiCED\nr5oZplTRHo4UZefwcNjrhr57aRE0WyuxffwOdGby5AT0jFdyjpKP7VXyNwPi\nNKDn1m3ueIOApSFwu8Zsled+1gbFXrQ2lzhSfcS/2YTFuXMtN70asmQR9v5G\nP73Fi3pG4zQAoLYkZXh+IYaoSCHNuBLVVV0bAMsBDqVKF3Up3n7EUpKGYu++\nVCzeFVGuBFv+FcZv6T0t9DapsiivyPUylKaJ2ouywiAV0BMbpFjFw+SjPb3s\nfuv7gk9PgdysC6kNtXkBWvcNanGuUAl/0XycqtwE2eaD9t2bpLL1APN89D7W\nwS3C5ZMOsspi/HP3+kbIca41F9PShm6ZAd3pR1sAyfYwGhN28S0eWGFvcUvh\nPmoXiJsJzlMxtP1ZORvJo0BradE6Q9KE9NujwvcBltSiLWs6DjQwXnIZXXuT\nxgSfCfCjRc7OQ8aZxoPkSGSKgWKYzGzqy71cSdlE0Wd9vw+Q2DE2uaRJ0cp7\nDoQH\r\n=jqze\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFXELEyYGNopcSIPoE88ebrV0aqd4lda0efpxk1GlhkJAiEA/ktusFnrFcXQ2mGGsY9CYvrGhJaW4/y1crsgL7uZ0rM="}]},"maintainers":[{"email":"braiandickson@gmail.com","name":"braiandickson"},{"email":"damfinkel@gmail.com","name":"damfinkel"},{"email":"francisco.iglesias@wolox.com.ar","name":"frankiglesias"},{"email":"gonziesc@gmail.com","name":"gonziesc"},{"email":"ignacio.abadie@wolox.com.ar","name":"iabadie"},{"email":"igna_torres92@hotmail.com","name":"igna92ts"},{"email":"ignacio.santise@wolox.com.ar","name":"ignacio.santise"},{"email":"alvarezjulianignacio@gmail.com","name":"jjuli93"},{"email":"lucas.medrano@wolox.com.ar","name":"lucasmedrano"},{"email":"martin.callegari@wolox.com.ar","name":"martincallegari"},{"email":"meelrossi@gmail.com","name":"meelrossi"},{"email":"martin.picollo@wolox.com.ar","name":"mpicollo-wolox"},{"email":"matipizza@gmail.com","name":"mpizzagalli"},{"email":"mvbattan@gmail.com","name":"mvbattan"},{"email":"nao.passarelli@gmail.com","name":"nao.passarelli"},{"email":"pablo.cid@wolox.com.ar","name":"pabloccid"},{"email":"pablo.ferro@wolox.com.ar","name":"pabloferro"},{"email":"rodrigoaparicio6@gmail.com","name":"raparicio6"},{"email":"alan.rinaldi@wolox.com.ar","name":"rinaldia118"},{"email":"fernandezsantid@gmail.com","name":"rorosf"},{"email":"sebastian.balay@wolox.com.ar","name":"sebbal"},{"email":"gabriel.zanzotti@gmail.com","name":"skolz"},{"email":"walterfolini@gmail.com","name":"wfolini"}],"_npmUser":{"name":"mpicollo-wolox","email":"martin.picollo@wolox.com.ar"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-wolox-logger_3.1.0_1594662784097_0.13829684123488795"},"_hasShrinkwrap":false},"4.0.0-beta.0":{"name":"express-wolox-logger","version":"4.0.0-beta.0","description":"ExpressJS Wolox Logger","main":"index.js","scripts":{"eslint-check":"eslint --print-config .eslintrc.js --ignore-pattern ./.eslintrc.js | eslint-config-prettier-check","lint":"eslint \"**/*.js\" --ignore-pattern ./.eslintrc.js","lint-diff":"git diff --name-only --cached --relative | grep \\\\.js$ | xargs eslint","lint-fix":"eslint \"**/*.js\" --fix --ignore-pattern ./.eslintrc.js","pretest":"npm run lint","test":"jest --runInBand","coverage":"jest --coverage","bench":"node lib/benchmarks.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/Wolox/express-wolox-logger.git"},"keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"author":{"name":"Wolox"},"license":"MIT","bugs":{"url":"https://github.com/Wolox/express-wolox-logger/issues"},"homepage":"https://github.com/Wolox/express-wolox-logger#readme","jest":{"testEnvironment":"node","testMatch":["**/test/**/*.spec.js?(x)"],"clearMocks":true},"husky":{"hooks":{"pre-commit":"npm run lint-diff"}},"dependencies":{"on-finished":"^2.3.0","pino":"^6.3.1","pino-pretty":"^4.0.0","shortid":"^2.2.14"},"devDependencies":{"body-parser":"^1.19.0","eslint":"^6.8.0","eslint-config-wolox":"^4.0.0","eslint-config-wolox-node":"^3.0.0","eslint-plugin-import":"^2.20.2","eslint-plugin-prettier":"^3.1.3","fastbench":"^1.0.1","husky":"^4.2.5","jest":"^26.0.1","os":"^0.1.1","prettier":"^1.17.1","prettier-eslint":"^9.0.2","supertest":"^4.0.2"},"readme":"# Express Wolox Logger\n\n[![Build Status](https://travis-ci.org/Wolox/express-wolox-logger.svg?branch=master)](https://travis-ci.org/Wolox/express-wolox-logger)\n\nExpressJS logger that wraps [pino](https://github.com/pinojs/pino) with additional features like middlewares for unique request ids and automatic logging of request beginnings and endings.\n\n## Basic Usage\n```\nconst { logger } = require('express-wolox-logger');\n\nlogger.info('hello world');\nlogger.error('something bad happened');\n```\nThis will output:\n```\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"hello world\"}\n{\"level\":22,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"something bad happened\"}\n```\n\n## Pretty print\n\nBy default, we use NDJSON for logging, but if you want to format the logs in another way you can check the [pretty section](https://getpino.io/#/docs/pretty) of pino\n\n## Advanced Usage\n\nThe exported `createLogger` function takes one optional argument,\n[`configuration`](#configuration) and\nreturns a `logger instance`.\n\n<a id=configuration></a>\n### `configuration` (Object)\n\n#### `options` (Object)\nDefault (pino): `{\n  mixin // we use this for add metadata log \n}`\n\nOptions for logger instance, check documentation of each package for more details ([pino](https://github.com/pinojs/pino/blob/master/docs/api.md#options))\n\n#### `loggerOption` (String)\nDefault : `'pino'`\n\nPackage used as logger, available options are: `['pino']`\n\n### Example\n```\nconst { createLogger } = require('express-wolox-logger');\n\nconst logger = createLogger({ \n    loggerOption: 'pino',\n    options: {\n        customLevels: {\n            foo: 35\n        },\n        useOnlyCustomLevels: true,\n        level: 'foo'\n    } \n})\n\nlogger.foo('hello world');\n```\n\n## Benchmarks\nThere is a script included to excecute a benchmark test on the logger functionallity. The script name is `bench` and test `10*iterations` logger calls with different messages types and sizes to print.\nIt can have none or one argument indicating the number of iterations to test, being `100` the default iterations value:\n```\nnpm run bench [iterations]\n```\n\n# Middlewares\n## Logs for request beginning and end\nWe provide an ExpressJs middleware that automatically logs when a request starts and ends. Simply import it and use it like any other middleware.\n\n### Basic Usage\n```\nconst { logger, expressMiddleware } = require('express-wolox-logger');\n\napp.use(expressMiddleware({ loggerFn: logger.info }));\n```\nThis in conjunction with the basic logs will output:\n```\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"Started GET /logger/test with params: {}, query: {}, body: {}\"}\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"hello world\"}\n{\"level\":22,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"something bad happened\"}\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"Ended GET /logger/test with status: 200 in 10 ms\"}\n```\n\n### Advanced Usage\nThe exported `expressRequestIdMiddleware` function takes one argument, [`options`](#optionsStartEnd) and returns a `middleware`.\n\n<a id=optionsStartEnd></a>\n#### `options` (Object)\n\n##### `loggerFn` (Function)\nLogger function used for start and end log actions with the default message format.\n\n##### `startFn` (Function)\nFunction used in start log actions, mainly for custom messages.\n\n##### `endFn` (Function)\nFunction used in end log actions, mainly for custom messages.\n\n##### `obfuscatePlaceholder` (String)\nDefault: [SECURE]\n\nString to replace obfuscated body.\n\n##### `obfuscateBody` (Object|Boolean)\nDefault: true\n\nOptions for obfuscate body of request, could be a boolean (true or false) that applies to all requests or a object to an specific endpoint and method.\n\n#### Example\n```\n{\n  obfuscateBody: {\n    '/some_url': { // this should be a regex of url to obfuscate\n      POST: true // method to obfuscate\n    }\n  }\n}\n```\n\n\n### Obfuscating body of specific request\n```\nconst { logger, expressMiddleware } = require('express-wolox-logger');\n\napp.use(expressMiddleware({ loggerFn: logger.info, obfuscatePlaceholder: '[SECRET]', obfuscateBody: { '/secure': { POST: true } } }));\n```\nThis in conjunction with the basic logs will output:\n```\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"Started POST /secure with params: {}, query: {}, body: [SECRET]\"}\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"hello world\"}\n{\"level\":22,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"Ended POST /secure with status: 200 in 10 ms\"}\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"Started GET /secure with params: {}, query: {}, body: {}\"}\n{\"level\":22,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"hello world\"}\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"Ended GET /secure with status: 200 in 10 ms\"}\n```\n\n### Obfuscating body of all requests\n```\nconst { logger, expressMiddleware } = require('express-wolox-logger');\n\napp.use(expressMiddleware({ loggerFn: logger.info, obfuscatePlaceholder: '[SECRET]', obfuscateBody: true }));\n```\nThis in conjunction with the basic logs will output:\n```\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"Started POST /secure with params: {}, query: {}, body: [SECRET]\"}\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"hello world\"}\n{\"level\":22,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"Ended POST /secure with status: 200 in 10 ms\"}\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"Started GET /secure with params: {}, query: {}, body: [SECRET]\"}\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"hello world\"}\n{\"level\":22,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"Ended GET /secure with status: 200 in 10 ms\"}\n```\n\n## Request Ids\nWe also provide an ExpressJs middleware that appends a `request id` to all logs made for a single request. This is useful for better tracking logs when there are several requests going on concurrently. Again, simply import it and use it like any other middleware.\n\n### Basic Usage\n```\nconst { expressRequestIdMiddleware } = require('express-wolox-logger');\n\napp.use(expressRequestIdMiddleware());\n```\nThis, in conjunction with the basic logs will output:\n```\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"hello world\",\"requestId\":\"GNc7JovB7\"}\n{\"level\":22,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"something bad happened\",\"requestId\":\"GNc7JovB7\" }\n```\nNote, that if you are using [Sequelize](http://docs.sequelizejs.com/), you need to configure it to use the logger's CLS namespace, otherwise the `requests ids` will not persist through `sequelize` promises. The same may apply to other frameworks.\n\nFor `sequelize`, just set the namespace before creating a new `sequelize` instance:\n```\nconst Sequelize = require('sequelize');\nconst { namespace } = require('express-wolox-logger');\n\nSequelize.useCLS(namespace);\nconst sequelize = new Sequelize(...);\n```\n\n### Advanced Usage\nThe exported `expressRequestIdMiddleware` function takes one optional argument, [`options`](#options) and returns a `middleware`.\n\n<a id=options></a>\n#### `options` (Object)\n\n##### `headerName` (String)\nDefault: `x-request-id`\n\nHeader from where the id is taken\n\n##### `idGenerator` (Function)\nDefault: [shortid.generate](https://github.com/dylang/shortid#usage)\n\nFunction used for generate ids in each request.\n\n### Example\n```\nconst uuid = require('uuid');\nconst { expressRequestIdMiddleware } = require('express-wolox-logger');\n\napp.use(expressRequestIdMiddleware({ headerName: 'id', idGenerator: uuid }));\n```\nThis, in conjunction with the basic logs will output:\n```\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"hello world\",\"requestId\":\"a2936029-9bd4-402d-ba43-a4873f228274\"}\n{\"level\":22,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"something bad happened\",\"requestId\":\"a2936029-9bd4-402d-ba43-a4873f228274\" }\n```\n\n### Forwarding the request Id\nAs a bonus, the previously mentioned request id is taken from the `x-request-id` header if supplied, which lets said `request id` be transferred across services. You can do this by importing the `getRequestId` function and supplying it to the header when making requests.\n```\nconst axios = require('axios'),\n { getRequestId } = require('express-wolox-logger');\n\naxios.get(URL, { headers: { 'x-request-id': getRequestId() } });\n```\nThis will result in the requestId being logged through your services until the request chain ends.\n\nWe used [axios](https://www.npmjs.com/package/axios) for this example but other requets packages like [request-promise](https://github.com/request/request-promise) work exactly the same way.\n\n## Logging Metadata\nWe provide some functions to allow logging some extra metadata like the request-id or any custom field that you need for tracking in all your app logs\n\n### Example\n```\nconst { addLogMetadata, getLogMetadata } = require('express-wolox-logger');\n\napp.use((req, res, next) => {\n  addLogMetadata({ some_custom_field: res.locals.some_field, other_custom_field: 'APP_FLOW' })\n  next();\n})\n```\nThis, in conjunction with the basic logs will output:\n```\n{\"level\":30,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"hello world\",\"some_custom_field\": \"some_value\", \"other_custom_field\": \"APP_FLOW\"}\n{\"level\":22,\"time\":1591139401676,\"pid\":45656,\"hostname\":\"192.168.1.4\",\"msg\":\"something bad happened\",\"some_custom_field\": \"some_value\", \"other_custom_field\": \"APP_FLOW\"}\n```\n\n## Migrate from winston to express-wolox-logger\nIf you are wondering how to migrate from wolox express-js boostrap configuration with winston to this package refer to the [step by step migration guide](Migrate.md)\n\n\n## Upgrade\nIf you are wondering how to upgrade to a major version check [this upgrade guide](UPGRADING.md)\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Run the tests (`npm test`)\n4. Commit your changes (`git commit -am 'Add some feature'`)\n5. Push to the branch (`git push origin my-new-feature`)\n6. Create new Pull Request\n\n## About\n\nThis project is maintained by [Wolox](https://github.com/wolox) and it was written by [Wolox](http://www.wolox.com.ar).\n\n![Wolox](https://raw.githubusercontent.com/Wolox/press-kit/master/logos/logo_banner.png)\n\n## License\n\n**express-wolox-logger** is available under the MIT [license](LICENSE.md).\n\n    Copyright (c) 2020 Wolox\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in\n    all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n    THE SOFTWARE.\n","readmeFilename":"README.md","gitHead":"f7c066956bae6b51f1a4c101adcd2c2536686e51","_id":"express-wolox-logger@4.0.0-beta.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-lJyoubjmvltwOgitsZVZQypSy94p6uPkyx/gr/mft2MSJwqw3l+P08cFl5kaIt0XiKCnrO6tV8wdJEuP0HvnZw==","shasum":"bacf90332f86440d64ac14071166ddb16fda74cb","tarball":"https://registry.npmjs.org/express-wolox-logger/-/express-wolox-logger-4.0.0-beta.0.tgz","fileCount":22,"unpackedSize":32676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfD0uICRA9TVsSAnZWagAA/9YP/2ItAtb9dltZTaw9W+hk\n6hmvikDgjVBs/D7VCAwh4p1JToJjCwXByt/9g2PXV34geDJmWAOYvee5hjkG\nVAKQXTCQRUuHCsAZfbmNqIJzafv1xw7mlAf+NKm8Xi5eY1tde3B9ufAXWqXx\ne/hjrR7rMAQNgQqLyW5RtJGZX35Z5712PM50wcojw9fOijdTyy80CZkj+9Ls\nOkCz2x+7sgpX1ufcrXMYxBtWgaBeIuOdUvh8vyfZLdg7m7LqSCX9Rqlm4+o/\nMK9VS203/unF4QPOwvYxUwBQSrbom4hm6tyHhzWpqZwMGqc9vqzf3BgjRqXe\nyeMIqeMlh3ex9wLWsq+o/4XgvhOweBT8mLke9DnEMeoYMDhTexzU1+mAu6uG\nD7YHR2ycd6beiabVB9872E6q2I1jrk6/PrEdhV4XO8y04Jgi4caVVHKs+Gei\nklUfTPNlXvayqe4iAsHPRCmn7B1dUNFW01TjwMkmM8pD4IoQUheP6e303UDi\nSmixc34kjhgBaBtRhC9JGQutNncK1lG+0iSFgwXduh3HcrlpQ6kGIRoIvHJk\nNEaFsnhwe2In+YBYZuyHKPoL20Ww7raEzyYOaSq3NaOcEvOYTDPwroWjG2Nt\nIIa5mpHiLAUjM68Yb9QKJTbj/JV6d/3af1oBaYJ64aHpChYLUjO/Ke+/QpWu\nJPZS\r\n=qrAz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB678INouoMEKWVlYAp2KUwd/l2y3gd6WNoC6gTrjhxUAiBI/7gQLc9Mcn/2z+i1x7QfcvKl/UeEbB6gRZKSAL6lKw=="}]},"maintainers":[{"email":"braiandickson@gmail.com","name":"braiandickson"},{"email":"damfinkel@gmail.com","name":"damfinkel"},{"email":"francisco.iglesias@wolox.com.ar","name":"frankiglesias"},{"email":"gonziesc@gmail.com","name":"gonziesc"},{"email":"ignacio.abadie@wolox.com.ar","name":"iabadie"},{"email":"igna_torres92@hotmail.com","name":"igna92ts"},{"email":"ignacio.santise@wolox.com.ar","name":"ignacio.santise"},{"email":"alvarezjulianignacio@gmail.com","name":"jjuli93"},{"email":"lucas.medrano@wolox.com.ar","name":"lucasmedrano"},{"email":"martin.callegari@wolox.com.ar","name":"martincallegari"},{"email":"meelrossi@gmail.com","name":"meelrossi"},{"email":"martin.picollo@wolox.com.ar","name":"mpicollo-wolox"},{"email":"matipizza@gmail.com","name":"mpizzagalli"},{"email":"mvbattan@gmail.com","name":"mvbattan"},{"email":"nao.passarelli@gmail.com","name":"nao.passarelli"},{"email":"pablo.cid@wolox.com.ar","name":"pabloccid"},{"email":"pablo.ferro@wolox.com.ar","name":"pabloferro"},{"email":"rodrigoaparicio6@gmail.com","name":"raparicio6"},{"email":"alan.rinaldi@wolox.com.ar","name":"rinaldia118"},{"email":"fernandezsantid@gmail.com","name":"rorosf"},{"email":"sebastian.balay@wolox.com.ar","name":"sebbal"},{"email":"gabriel.zanzotti@gmail.com","name":"skolz"},{"email":"walterfolini@gmail.com","name":"wfolini"}],"_npmUser":{"name":"mpicollo-wolox","email":"martin.picollo@wolox.com.ar"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-wolox-logger_4.0.0-beta.0_1594837895644_0.9234794467696872"},"_hasShrinkwrap":false},"4.0.0":{"name":"express-wolox-logger","version":"4.0.0","description":"ExpressJS Wolox Logger","main":"index.js","scripts":{"eslint-check":"eslint --print-config .eslintrc.js --ignore-pattern ./.eslintrc.js | eslint-config-prettier-check","lint":"eslint \"**/*.js\" --ignore-pattern ./.eslintrc.js","lint-diff":"git diff --name-only --cached --relative | grep \\\\.js$ | xargs eslint","lint-fix":"eslint \"**/*.js\" --fix --ignore-pattern ./.eslintrc.js","pretest":"npm run lint","test":"jest --runInBand","coverage":"jest --coverage","bench":"node lib/benchmarks.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/Wolox/express-wolox-logger.git"},"keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"author":{"name":"Wolox"},"license":"MIT","bugs":{"url":"https://github.com/Wolox/express-wolox-logger/issues"},"homepage":"https://github.com/Wolox/express-wolox-logger#readme","jest":{"testEnvironment":"node","testMatch":["**/test/**/*.spec.js?(x)"],"clearMocks":true},"husky":{"hooks":{"pre-commit":"npm run lint-diff"}},"dependencies":{"on-finished":"^2.3.0","pino":"^6.4.0","pino-pretty":"^4.0.3","shortid":"^2.2.14"},"devDependencies":{"body-parser":"^1.19.0","eslint":"^6.8.0","eslint-config-wolox":"^4.0.0","eslint-config-wolox-node":"^3.0.0","eslint-plugin-import":"^2.22.0","eslint-plugin-prettier":"^3.1.4","fastbench":"^1.0.1","husky":"^4.2.5","jest":"^26.1.0","os":"^0.1.1","prettier":"^1.17.1","prettier-eslint":"^9.0.2","supertest":"^4.0.2"},"gitHead":"cbf8a89fc5243996e165815b76a94dd0aa3dccaf","_id":"express-wolox-logger@4.0.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Dd0A51Z1UjhFtfYWaVUBMeRYcI+oM2axgwzvm2HAmmCsTGngfEn6l53UjFIu5VoTTnSeOKcivXCuoh0VBpUl/g==","shasum":"79737422f4d1acc8c384cef8969d505af31f5b9d","tarball":"https://registry.npmjs.org/express-wolox-logger/-/express-wolox-logger-4.0.0.tgz","fileCount":22,"unpackedSize":33814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEborCRA9TVsSAnZWagAADHEP/2Ek7tJJhg2zewfv6yFG\nTe4U1NVOlIA8zoFHiXHDkLzfTj2+p2EDP2ZXkaZWBMqT7ChqjQbEapav9taS\ngp6J+JCUnrD5HxNlGU8FTV6HMskmH8FHkd7DNutiYi3L9eStqiTBz+T1XlF9\nk5EC2zVPKXlLTSeoV41R09VKriJ3/PCqp+JCgdGNkwhOjwtp3O7gMxvlPS2O\nyVBQTO/gA+1sCN8dBp7Twf6yJkzwstbC4b+3lTuAW5G8bv83CaLi7GwFRNlQ\nhykaYRTjHb8jEm5WZkBuEOPa9Zc1DvvXOv+XTOtIxGcZqFO8RB81LRZwYVk2\n2Un8xDeirwIJOFPTlkah45odJLnEe6Z6oQFMozKBeFPbFJoFFvU3uOs+bXBz\noennd6nhw9G+RJerhvvTi7haJx82RZIAPVyF9ChYmhwiNSmOqEplIE5pzOUi\n6hxQKm8W6B3ghgE+zWUc+VqTjxWnmySs/ivl4ngbmwuoO6LHNWZp8/vPABk7\ngJmTa/rqqd3T8HIp4STUFqMD3UoowsVNvtQKnIRIg7r3EVN171lVsvDdz/2O\nHxjtV3EXAO+dGxXgJQ+Y8b1l4b0rxfm5WnIwuXAwhN5N3W4CoI6VOEXTN3GM\nAJsXhvdevPn6HN01DQdO9v8E6dlGo0wSxW82omCDEBNlQCFZO6U86NpfuUEY\neEyb\r\n=AhLD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8pgOyqUlcYvS+ttpASvCUPcEJo6Z5+4DXJBj8dWGEgAiEAmQCjD9k3tg+NHxAYcBK38zCghZbS1bLpw9i1cWT8/VQ="}]},"maintainers":[{"email":"braiandickson@gmail.com","name":"braiandickson"},{"email":"damfinkel@gmail.com","name":"damfinkel"},{"email":"francisco.iglesias@wolox.com.ar","name":"frankiglesias"},{"email":"gonziesc@gmail.com","name":"gonziesc"},{"email":"ignacio.abadie@wolox.com.ar","name":"iabadie"},{"email":"igna_torres92@hotmail.com","name":"igna92ts"},{"email":"ignacio.santise@wolox.com.ar","name":"ignacio.santise"},{"email":"alvarezjulianignacio@gmail.com","name":"jjuli93"},{"email":"lucas.medrano@wolox.com.ar","name":"lucasmedrano"},{"email":"martin.callegari@wolox.com.ar","name":"martincallegari"},{"email":"meelrossi@gmail.com","name":"meelrossi"},{"email":"martin.picollo@wolox.com.ar","name":"mpicollo-wolox"},{"email":"matipizza@gmail.com","name":"mpizzagalli"},{"email":"mvbattan@gmail.com","name":"mvbattan"},{"email":"nao.passarelli@gmail.com","name":"nao.passarelli"},{"email":"pablo.cid@wolox.com.ar","name":"pabloccid"},{"email":"pablo.ferro@wolox.com.ar","name":"pabloferro"},{"email":"rodrigoaparicio6@gmail.com","name":"raparicio6"},{"email":"alan.rinaldi@wolox.com.ar","name":"rinaldia118"},{"email":"fernandezsantid@gmail.com","name":"rorosf"},{"email":"sebastian.balay@wolox.com.ar","name":"sebbal"},{"email":"gabriel.zanzotti@gmail.com","name":"skolz"},{"email":"walterfolini@gmail.com","name":"wfolini"}],"_npmUser":{"name":"mpicollo-wolox","email":"martin.picollo@wolox.com.ar"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-wolox-logger_4.0.0_1594997291102_0.03726064759019998"},"_hasShrinkwrap":false},"4.0.1":{"name":"express-wolox-logger","version":"4.0.1","description":"ExpressJS Wolox Logger","main":"index.js","scripts":{"eslint-check":"eslint --print-config .eslintrc.js --ignore-pattern ./.eslintrc.js | eslint-config-prettier-check","lint":"eslint \"**/*.js\" --ignore-pattern ./.eslintrc.js","lint-diff":"git diff --name-only --cached --relative | grep \\\\.js$ | xargs eslint","lint-fix":"eslint \"**/*.js\" --fix --ignore-pattern ./.eslintrc.js","pretest":"npm run lint","test":"jest --runInBand","coverage":"jest --coverage","bench":"node lib/benchmarks.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/Wolox/express-wolox-logger.git"},"keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"author":{"name":"Wolox"},"license":"MIT","bugs":{"url":"https://github.com/Wolox/express-wolox-logger/issues"},"homepage":"https://github.com/Wolox/express-wolox-logger#readme","jest":{"testEnvironment":"node","testMatch":["**/test/**/*.spec.js?(x)"],"clearMocks":true},"husky":{"hooks":{"pre-commit":"npm run lint-diff"}},"dependencies":{"on-finished":"^2.3.0","pino":"^6.4.0","pino-pretty":"^4.0.3","shortid":"^2.2.14"},"devDependencies":{"body-parser":"^1.19.0","eslint":"^6.8.0","eslint-config-wolox":"^4.0.0","eslint-config-wolox-node":"^3.0.0","eslint-plugin-import":"^2.22.0","eslint-plugin-prettier":"^3.1.4","fastbench":"^1.0.1","husky":"^4.2.5","jest":"^26.1.0","os":"^0.1.1","prettier":"^1.17.1","prettier-eslint":"^9.0.2","supertest":"^4.0.2"},"gitHead":"a4128eed9a4843e90df8d9d70c2b86035ec145c6","_id":"express-wolox-logger@4.0.1","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-IB2ljX1h5DG+ARv1WjjJ5dBcpaWY4VsEk/jk14rGagx7T4Th0JRnew/suKOb/u4b87szs/0J7GvETXDXV031Tg==","shasum":"4d35f2c547d4365453fc9cc8f4799befff1fcaf4","tarball":"https://registry.npmjs.org/express-wolox-logger/-/express-wolox-logger-4.0.1.tgz","fileCount":22,"unpackedSize":33823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2qlICRA9TVsSAnZWagAAtEoP/R9n1PO+XgKHeDOFGgPn\nQKxQNT8JToZm2z6uqNCQjZLxRbTX2wKIOXcw7+HPwPQVdXIxMvNyLjSGXiV3\nDhbmyJRGxeXkjp0ovg5yi974Svcag4eUUBwFo8v+qsR/nxQLOALVyZY8tUhz\nSr8anMsSSNCwQr4dbZ+rpwMrbM6p2IUtCxYCVZdlH2R9fLQlc/jKPOgfEM/G\nwmoxpXQ6ZTgalrZDpbNxzcj9QFb1kO5BqTpCBNegehQOy31MGG2XC+mg3308\nYA1ZSq2QnHkruiadA9uNkSTBDmGMfwYUjtiUkXymR3ExWf9mpjwnsB87UDOQ\nl1J0nwQz/8xjuzodPBU9Dx0jWJAtzjxVf2C7yIX4HSVC3Y4XERsiUAp40vL+\no1H1bmp5h8KCEvKezklUbjxtgP9z4JGX5kMRiSONexTA5X9eb/YVYeXUkDUG\nlvreMjHtwFo9IqSCBo6FMXKgOW4FtL/5gb8j7BW30y7e2YYLixyuHbnEkEcQ\neVQZfqszIzUrzuIPyegEfMGXBJejhSyW0z1d5YcV48l4Gbpwgvu4NjjJc+NF\n7meBpXPqcaF5coGUujkDeHHckJX0c+T+OnI8EwLTTzpkMg3hW5CpsSFpe3J3\nSvyiwqbDH1mm6BwfGQ9v1WDNLLj/WCVqqqDlxG38p/l6GgLfJ3U7MP6/bEi3\nlkij\r\n=83F3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcw8uDn2wE1JI5/wB1Xs0dJjmnDOekufouJJY36obf3gIgK6q9TreWaJ+Qqc3SfauyMppjT8VCdxs0puCP9obS99A="}]},"maintainers":[{"email":"braiandickson@gmail.com","name":"braiandickson"},{"email":"damfinkel@gmail.com","name":"damfinkel"},{"email":"francisco.iglesias@wolox.com.ar","name":"frankiglesias"},{"email":"gonziesc@gmail.com","name":"gonziesc"},{"email":"ignacio.abadie@wolox.com.ar","name":"iabadie"},{"email":"igna_torres92@hotmail.com","name":"igna92ts"},{"email":"ignacio.santise@wolox.com.ar","name":"ignacio.santise"},{"email":"alvarezjulianignacio@gmail.com","name":"jjuli93"},{"email":"lucas.medrano@wolox.com.ar","name":"lucasmedrano"},{"email":"martin.callegari@wolox.com.ar","name":"martincallegari"},{"email":"meelrossi@gmail.com","name":"meelrossi"},{"email":"martin.picollo@wolox.com.ar","name":"mpicollo-wolox"},{"email":"matipizza@gmail.com","name":"mpizzagalli"},{"email":"mvbattan@gmail.com","name":"mvbattan"},{"email":"nao.passarelli@gmail.com","name":"nao.passarelli"},{"email":"pablo.cid@wolox.com.ar","name":"pabloccid"},{"email":"pablo.ferro@wolox.com.ar","name":"pabloferro"},{"email":"rodrigoaparicio6@gmail.com","name":"raparicio6"},{"email":"alan.rinaldi@wolox.com.ar","name":"rinaldia118"},{"email":"fernandezsantid@gmail.com","name":"rorosf"},{"email":"sebastian.balay@wolox.com.ar","name":"sebbal"},{"email":"gabriel.zanzotti@gmail.com","name":"skolz"},{"email":"walterfolini@gmail.com","name":"wfolini"}],"_npmUser":{"name":"mpicollo-wolox","email":"martin.picollo@wolox.com.ar"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-wolox-logger_4.0.1_1595518372715_0.7189241416058065"},"_hasShrinkwrap":false},"2.1.0":{"name":"express-wolox-logger","version":"2.1.0","description":"ExpressJS Wolox Logger","main":"index.js","scripts":{"eslint-check":"eslint --print-config .eslintrc.js --ignore-pattern ./.eslintrc.js | eslint-config-prettier-check","lint":"eslint \"**/*.js\" --ignore-pattern ./.eslintrc.js","lint-diff":"git diff --name-only --cached --relative | grep \\\\.js$ | xargs eslint","lint-fix":"eslint \"**/*.js\" --fix --ignore-pattern ./.eslintrc.js","pretest":"npm run lint","test":"jest --runInBand","coverage":"jest --coverage","bench":"node lib/benchmarks.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/Wolox/express-wolox-logger.git"},"keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"author":{"name":"Wolox"},"license":"MIT","bugs":{"url":"https://github.com/Wolox/express-wolox-logger/issues"},"homepage":"https://github.com/Wolox/express-wolox-logger#readme","jest":{"testEnvironment":"node","testMatch":["**/test/**/*.spec.js?(x)"],"clearMocks":true},"husky":{"hooks":{"pre-commit":"npm run lint-diff"}},"dependencies":{"cls-hooked":"^4.2.2","nanoid":"^3.3.1","on-finished":"^2.3.0","pino":"^5.11.1","pino-pretty":"^3.6.0"},"devDependencies":{"body-parser":"^1.19.0","eslint":"^5.9.0","eslint-config-wolox":"^2.3.0","eslint-config-wolox-node":"^1.0.0","eslint-plugin-prettier":"^3.1.0","fastbench":"^1.0.1","husky":"^4.2.3","jest":"^25.1.0","os":"^0.1.1","prettier":"^1.17.1","prettier-eslint":"^8.8.2","supertest":"^4.0.2"},"gitHead":"e222d8fc50557678db84ee244472dd43ac61b7da","_id":"express-wolox-logger@2.1.0","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-UsE3mGF/oQTpVI15BrXnzj0d/NvUg7kvOK7SMazge9soFSTmNGlJelScP1D+H9ihWjWHnWQcowknn6b9lbeMxQ==","shasum":"827e2e2d98822830990e73ac51818afb71613bc8","tarball":"https://registry.npmjs.org/express-wolox-logger/-/express-wolox-logger-2.1.0.tgz","fileCount":22,"unpackedSize":28466,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8H4uBOnweDuSND070V92kDILPTNCWKyeMzEkM0m+czgIhAPCpXqLPpI+ngO+YQu2abhwivVBqGu/cMJJYjZlc+rb0"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihZA2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrRPQ//dWOfE4OjXDCDiqABvMM9y7QL2te0jY6JJIq+LNLYRTTYSTHG\r\n7OES0ypiENe2XaPxjoHwyOfnLTD7nI/gKwKJJE4WfvoypZDFfzOwxQEigb3n\r\n/xTBlJmcJVZV3kLvOY2PmZxwGgxjonhwqppRc0D6cb5id7gwCyAz3NR3gpLu\r\nxFFIpyJ8l2LvuHKIW2LaYA4xY4n+mpu29XgYut/gIFEGvAGUZWrX3iMJ6K9Z\r\niMLBDIRszPb7bbgDwsLoayMIKA+nMfOJBY4wJkWZ/Yqstd6SANlocjJej1Ri\r\n2T+gOyd2xrh4xNk9KtCdtPJgP1iMF5qGyAXGavdR6v/5RC2VTFHAj7cG/z+n\r\nb68LZSsDmtp8x5H5mj9sG9LgH7Jm7L98e6Uti93/w3USh2X9ZYDMJhy+w4sr\r\nf7K5cVQUcqupzflCMuaUMAJ9Fs8YXJuoxFRYHmS+THG3Zp82AofALVm/HwIJ\r\nFwbzPyvDAeRnG76ZJUdcAHYyzIEtesKjcvT/nT0Y7o5EtJ5VBjMTG/aLIIpz\r\nAiivwpfhO6tExZjQuRCqQcRFDJGSAb3IZiS0dfR4kvy+z6aNmwjRRjtqRfv/\r\nHKzR4bzLUP4BfLTS/7kM1j8bO2U8o0JQ2N6CC49kmyra4Jy/j6AsRvzOSYTI\r\nCYjXNO0CVgTqoaBddCLkLAMkfV96Sk0csH4=\r\n=gFxF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"skolz","email":"gabriel.zanzotti@gmail.com"},"directories":{},"maintainers":[{"name":"jersonlopez","email":"jersonlopez.1204@gmail.com"},{"name":"lucas_zibell","email":"lucas.zibell@wolox.com.ar"},{"name":"damfinkel","email":"damfinkel@gmail.com"},{"name":"pabloferro","email":"pablo.ferro@wolox.com.ar"},{"name":"skolz","email":"gabriel.zanzotti@gmail.com"},{"name":"martincallegari","email":"martin.callegari@wolox.com.ar"},{"name":"mpizzagalli","email":"matipizza@gmail.com"},{"name":"rorosf","email":"fernandezsantid@gmail.com"},{"name":"alejobh","email":"alejo0395@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-wolox-logger_2.1.0_1652920374409_0.38499095766853286"},"_hasShrinkwrap":false}},"time":{"created":"2019-05-14T13:53:20.555Z","0.0.1":"2019-05-14T13:53:20.773Z","modified":"2022-10-18T16:03:27.110Z","0.0.2":"2019-05-16T18:06:03.671Z","0.0.3":"2019-07-23T21:20:35.417Z","1.0.0":"2019-07-23T21:21:00.810Z","1.1.0":"2019-08-14T19:34:05.224Z","2.0.0":"2020-02-19T22:04:01.636Z","3.0.0":"2020-06-04T16:14:47.227Z","3.1.0":"2020-07-13T17:53:04.230Z","4.0.0-beta.0":"2020-07-15T18:31:35.801Z","4.0.0":"2020-07-17T14:48:11.247Z","4.0.1":"2020-07-23T15:32:52.876Z","2.1.0":"2022-05-19T00:32:54.620Z"},"maintainers":[{"email":"cristian.vega08@gmail.com","name":"crisvega08"},{"email":"gabriel.zanzotti@gmail.com","name":"skolz"},{"email":"matipizza@gmail.com","name":"mpizzagalli"}],"description":"ExpressJS Wolox Logger","homepage":"https://github.com/Wolox/express-wolox-logger#readme","keywords":["express","expressjs","logger","node","nodejs","log","wolox"],"repository":{"type":"git","url":"git+ssh://git@github.com/Wolox/express-wolox-logger.git"},"author":{"name":"Wolox"},"bugs":{"url":"https://github.com/Wolox/express-wolox-logger/issues"},"license":"MIT","readme":"# Express Wolox Logger\n\n[![Build Status](https://travis-ci.org/Wolox/express-wolox-logger.svg?branch=master)](https://travis-ci.org/Wolox/express-wolox-logger)\n\nExpressJS logger that wraps [pino](https://github.com/pinojs/pino) with additional features like middlewares for unique request ids and automatic logging of request beginnings and endings.\n\n## Basic Usage\n```\nconst { logger } = require('express-wolox-logger');\n\nlogger.info('hello world');\nlogger.error('something bad happened');\n```\nThis will output:\n```\n[2019-06-14 17:35:13.772 +0000] INFO  (17439 on my-pc.local): hello world\n[2019-06-14 17:35:13.772 +0000] ERROR (17439 on my-pc.local): something bad happened\n```\n\n## Advanced Usage\n\nThe exported `createLogger` function takes one optional argument,\n[`configuration`](#configuration) and\nreturns a `logger instance`.\n\n<a id=configuration></a>\n### `configuration` (Object)\n\n#### `options` (Object)\nDefault (pino): `{\n  prettyPrint: {\n    translateTime: true,\n    colorize: false\n  }\n}`\n\nOptions for logger instance, check documentation of each package for more details ([pino](https://github.com/pinojs/pino/blob/master/docs/api.md#options))\n\n#### `loggerOption` (String)\nDefault : `'pino'`\n\nPackage used as logger, available options are: `['pino']`\n\n### Example\n```\nconst { createLogger } = require('express-wolox-logger');\n\nconst logger = createLogger({ \n    loggerOption: 'pino',\n    options: {\n        customLevels: {\n            foo: 35\n        },\n        useOnlyCustomLevels: true,\n        level: 'foo'\n    } \n})\n\nlogger.foo('hello world');\n```\n\n## Benchmarks\nThere is a script included to excecute a benchmark test on the logger functionallity. The script name is `bench` and test `10*iterations` logger calls with different messages types and sizes to print.\nIt can have none or one argument indicating the number of iterations to test, being `100` the default iterations value:\n```\nnpm run bench [iterations]\n```\n\n# Middlewares\n## Logs for request beginning and end\nWe provide an ExpressJs middleware that automatically logs when a request starts and ends. Simply import it and use it like any other middleware.\n\n### Basic Usage\n```\nconst { logger, expressMiddleware } = require('express-wolox-logger');\n\napp.use(expressMiddleware({ loggerFn: logger.info }));\n```\nThis in conjunction with the basic logs will output:\n```\n[2019-06-14 17:35:13.770 +0000] INFO  (17439 on my-pc.local): Started GET /logger/test with params: {}, query: {}, body: {}.\n[2019-06-14 17:35:13.772 +0000] INFO  (17439 on my-pc.local): hello world\n[2019-06-14 17:35:13.772 +0000] ERROR (17439 on my-pc.local): something bad happened\n[2019-06-14 17:35:13.781 +0000] INFO  (17439 on my-pc.local): Ended GET /logger/test with status: 200 in 10 ms\n```\n\n### Advanced Usage\nThe exported `expressRequestIdMiddleware` function takes one argument, [`options`](#optionsStartEnd) and returns a `middleware`.\n\n<a id=optionsStartEnd></a>\n#### `options` (Object)\n\n##### `loggerFn` (Function)\nLogger function used for start and end log actions.\n\n##### `obfuscatePlaceholder` (String)\nDefault: [SECURE]\n\nString to replace obfuscated body.\n\n##### `obfuscateBody` (Object|Boolean)\nDefault: true\n\nOptions for obfuscate body of request, could be a boolean (true or false) that applies to all requests or a object to an specific endpoint and method.\n\n#### Example\n```\n{\n  obfuscateBody: {\n    '/some_url': { // this should be a regex of url to obfuscate\n      POST: true // method to obfuscate\n    }\n  }\n}\n```\n\n\n### Obfuscating body of specific request\n```\nconst { logger, expressMiddleware } = require('express-wolox-logger');\n\napp.use(expressMiddleware({ loggerFn: logger.info, obfuscatePlaceholder: '[SECRET]', obfuscateBody: { '/secure': { POST: true } } }));\n```\nThis in conjunction with the basic logs will output:\n```\n[2019-06-14 17:35:13.770 +0000] INFO  (17439 on my-pc.local): Started POST /secure with params: {}, query: {}, body: [SECRET].\n[2019-06-14 17:35:13.772 +0000] INFO  (17439 on my-pc.local): hello world\n[2019-06-14 17:35:13.781 +0000] INFO  (17439 on my-pc.local): Ended POST /secure with status: 200 in 10 ms\n[2019-06-14 17:35:13.770 +0000] INFO  (17439 on my-pc.local): Started GET /secure with params: {}, query: {}, body: {}.\n[2019-06-14 17:35:13.772 +0000] INFO  (17439 on my-pc.local): hello world\n[2019-06-14 17:35:13.781 +0000] INFO  (17439 on my-pc.local): Ended GET /secure with status: 200 in 10 ms\n```\n\n### Obfuscating body of all requests\n```\nconst { logger, expressMiddleware } = require('express-wolox-logger');\n\napp.use(expressMiddleware({ loggerFn: logger.info, obfuscatePlaceholder: '[SECRET]', obfuscateBody: true }));\n```\nThis in conjunction with the basic logs will output:\n```\n[2019-06-14 17:35:13.770 +0000] INFO  (17439 on my-pc.local): Started POST /secure with params: {}, query: {}, body: [SECRET].\n[2019-06-14 17:35:13.772 +0000] INFO  (17439 on my-pc.local): hello world\n[2019-06-14 17:35:13.781 +0000] INFO  (17439 on my-pc.local): Ended POST /secure with status: 200 in 10 ms\n[2019-06-14 17:35:13.770 +0000] INFO  (17439 on my-pc.local): Started GET /secure with params: {}, query: {}, body: [SECRET].\n[2019-06-14 17:35:13.772 +0000] INFO  (17439 on my-pc.local): hello world\n[2019-06-14 17:35:13.781 +0000] INFO  (17439 on my-pc.local): Ended GET /secure with status: 200 in 10 ms\n```\n\n\n\n## Request Ids\nWe also provide an ExpressJs middleware that appends a `request id` to all logs made for a single request. This is useful for better tracking logs when there are several requests going on concurrently. Again, simply import it and use it like any other middleware.\n\n### Basic Usage\n```\nconst { expressRequestIdMiddleware } = require('express-wolox-logger');\n\napp.use(expressRequestIdMiddleware());\n```\nThis, in conjunction with the basic logs will output:\n```\n[2019-06-14 17:35:13.772 +0000] INFO  (17439 on my-pc.local): [GNc7JovB7] hello world\n[2019-06-14 17:35:13.772 +0000] ERROR (17439 on my-pc.local): [GNc7JovB7] something bad happened\n```\nNote, that if you are using [Sequelize](http://docs.sequelizejs.com/), you need to configure it to use the logger's CLS namespace, otherwise the `requests ids` will not persist through `sequelize` promises. The same may apply to other frameworks.\n\nFor `sequelize`, just set the namespace before creating a new `sequelize` instance:\n```\nconst Sequelize = require('sequelize');\nconst { namespace } = require('express-wolox-logger');\n\nSequelize.useCLS(namespace);\nconst sequelize = new Sequelize(...);\n```\n\n### Advanced Usage\nThe exported `expressRequestIdMiddleware` function takes one optional argument, [`options`](#options) and returns a `middleware`.\n\n<a id=options></a>\n#### `options` (Object)\n\n##### `headerName` (String)\nDefault: `x-request-id`\n\nHeader from where the id is taken\n\n##### `idGenerator` (Function)\nDefault: [nanoid(10)](https://github.com/ai/nanoid/)\n\nFunction used for generate ids in each request.\n\n### Example\n```\nconst uuid = require('uuid');\nconst { expressRequestIdMiddleware } = require('express-wolox-logger');\n\napp.use(expressRequestIdMiddleware({ headerName: 'id', idGenerator: uuid }));\n```\nThis, in conjunction with the basic logs will output:\n```\n[2019-06-14 17:35:13.772 +0000] INFO  (17439 on my-pc.local): [a2936029-9bd4-402d-ba43-a4873f228274] hello world\n[2019-06-14 17:35:13.772 +0000] ERROR (17439 on my-pc.local): [a2936029-9bd4-402d-ba43-a4873f228274] something bad happened\n```\n\n### Forwarding the request Id\nAs a bonus, the previously mentioned request id is taken from the `x-request-id` header if supplied, which lets said `request id` be transferred across services. You can do this by importing the `getRequestId` function and supplying it to the header when making requests.\n```\nconst axios = require('axios'),\n { getRequestId } = require('express-wolox-logger');\n\naxios.get(URL, { headers: { 'x-request-id': getRequestId() } });\n```\nThis will result in the requestId being logged through your services until the request chain ends.\n\nWe used [axios](https://www.npmjs.com/package/axios) for this example but other requets packages like [request-promise](https://github.com/request/request-promise) work exactly the same way.\n\n## Migrate from winston to express-wolox-logger\nIf you are wondering how to migrate from wolox express-js boostrap configuration with winston to this package refer to the [step by step migration guide](Migrate.md)\n\n\n## Upgrade\nIf you are wondering how to upgrade to a major version check [this upgrade guide](UPGRADING.md)\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Run the tests (`npm test`)\n4. Commit your changes (`git commit -am 'Add some feature'`)\n5. Push to the branch (`git push origin my-new-feature`)\n6. Create new Pull Request\n\n## About\n\nThis project is maintained by [Wolox](https://github.com/wolox) and it was written by [Wolox](http://www.wolox.com.ar).\n\n![Wolox](https://raw.githubusercontent.com/Wolox/press-kit/master/logos/logo_banner.png)\n\n## License\n\n**express-wolox-logger** is available under the MIT [license](LICENSE.md).\n\n    Copyright (c) 2020 Wolox\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in\n    all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n    THE SOFTWARE.\n","readmeFilename":"README.md"}