{"_id":"logacious","_rev":"67-297773e3270fe3f784a8d5fef931e848","name":"logacious","dist-tags":{"latest":"0.4.1"},"versions":{"0.1.0":{"name":"logacious","version":"0.1.0","keywords":["logger","line","file","name"],"author":{"name":"Nicolas Herment","email":"nherment@gmail.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"logacious@0.1.0","maintainers":[{"name":"nherment","email":"nherment@gmail.com"}],"homepage":"https://github.com/Portchain/logacious#readme","bugs":{"url":"https://github.com/Portchain/logacious/issues"},"dist":{"shasum":"75b8cfa6c7688ed0f1ae0efde799ca455475549d","tarball":"https://registry.npmjs.org/logacious/-/logacious-0.1.0.tgz","integrity":"sha512-zwgNNJ866A6Jun878alUIi6TOMMuA6czI4nBt1HGBI5wj1grhCvylUT7rlY+MO9bwsxJX7PD3ruI7U/3imS8ag==","signatures":[{"sig":"MEQCIFmyth/zj35R5haOgmWyQz8UwCBg+0HZRGQ/uFLRUTXHAiBP/i9IP+sP9ueNhiZ2g6DBf35lGTPDwMJz9qy8vWGAMg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"logger.js","_from":".","_shasum":"75b8cfa6c7688ed0f1ae0efde799ca455475549d","gitHead":"f87c1fbef93321ad0ee0ca6d1d5f1a3abf604cdf","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nherment","email":"nherment@gmail.com"},"repository":{"url":"git+https://github.com/Portchain/logacious.git","type":"git"},"_npmVersion":"4.1.2","description":"A node.js logger that outputs the filename and line number of where the logger is called","directories":{},"_nodeVersion":"7.5.0","dependencies":{"lodash":"4.17.4","moment":"2.17.1"},"_npmOperationalInternal":{"tmp":"tmp/logacious-0.1.0.tgz_1488805280947_0.8685904764570296","host":"packages-12-west.internal.npmjs.com"}},"0.2.0":{"name":"logacious","version":"0.2.0","keywords":["logger","line","file","name"],"author":{"name":"Nicolas Herment","email":"nherment@gmail.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"logacious@0.2.0","maintainers":[{"name":"nherment","email":"nherment@gmail.com"}],"homepage":"https://github.com/Portchain/logacious#readme","bugs":{"url":"https://github.com/Portchain/logacious/issues"},"dist":{"shasum":"2d63180dc42fb39c8cc350cfbe6aaf105edce625","tarball":"https://registry.npmjs.org/logacious/-/logacious-0.2.0.tgz","integrity":"sha512-pqpCesktq6id0arMvJi/158Cv5Jr4DlZi0ZZ3z4aG3uZkNBjwIsb0hWIltPCrnEPK/PJdw75pZL/seDlkqpLHw==","signatures":[{"sig":"MEUCIG/u6qDgeC7zLHSZKsnHXfRoDIBlpAAcijDev28neYe8AiEA9LRTVSCh3BlpjmKKY8zNABuUQSu0vgRAIy3Dtk83m/s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"logger.js","_from":".","_shasum":"2d63180dc42fb39c8cc350cfbe6aaf105edce625","gitHead":"5800e107f93fd77d966ac51ed3432aa5f7c78d6b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nherment","email":"nherment@gmail.com"},"repository":{"url":"git+https://github.com/Portchain/logacious.git","type":"git"},"_npmVersion":"4.2.0","description":"A node.js logger that outputs the filename and line number of where the logger is called","directories":{},"_nodeVersion":"7.9.0","dependencies":{"lodash":"4.17.4","moment":"2.17.1"},"_npmOperationalInternal":{"tmp":"tmp/logacious-0.2.0.tgz_1494339094274_0.757623732322827","host":"packages-12-west.internal.npmjs.com"}},"0.3.0":{"name":"logacious","version":"0.3.0","keywords":["logger","line","file","name"],"author":{"name":"Nicolas Herment","email":"nherment@gmail.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"logacious@0.3.0","maintainers":[{"name":"nherment","email":"nherment@gmail.com"}],"homepage":"https://github.com/Portchain/logacious#readme","bugs":{"url":"https://github.com/Portchain/logacious/issues"},"dist":{"shasum":"1a1a0db3db93ef2d83d542025234ffe6094a8916","tarball":"https://registry.npmjs.org/logacious/-/logacious-0.3.0.tgz","integrity":"sha512-3WqD9bihJJ4PC+Un+kJyB5JYfAd7K+eqlUDidG+kdJkwxmYIfS61bX0kzAIRTdyyDXbr9ZVQbOhgahKT+v2IXg==","signatures":[{"sig":"MEUCIQDtFn4GC8KeLbaBMbzXIxxQ5Bvm3KHw9bEJ862TjLY+qAIgcT0DXmseJ3VW/cvsEjRIJUAg68crr1US5lg8uvfBW8k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"logger.js","gitHead":"020cca950d1e8351721b4503b7a62dbeb2770799","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nherment","email":"nherment@gmail.com"},"repository":{"url":"git+https://github.com/Portchain/logacious.git","type":"git"},"_npmVersion":"5.0.3","description":"A node.js logger that outputs the filename and line number of where the logger is called","directories":{},"_nodeVersion":"8.1.2","dependencies":{"ain2":"2.0.0","lodash":"4.17.4","moment":"2.17.1"},"_npmOperationalInternal":{"tmp":"tmp/logacious-0.3.0.tgz_1508313089897_0.9769884441047907","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"logacious","version":"0.4.0","keywords":["logger","line","file","name"],"author":{"name":"Nicolas Herment","email":"nherment@gmail.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"logacious@0.4.0","maintainers":[{"name":"nherment","email":"nherment@gmail.com"}],"homepage":"https://github.com/Portchain/logacious#readme","bugs":{"url":"https://github.com/Portchain/logacious/issues"},"dist":{"shasum":"c42c9927d9bf3ad43f35a47a7f5b38b8f389fff3","tarball":"https://registry.npmjs.org/logacious/-/logacious-0.4.0.tgz","fileCount":4,"integrity":"sha512-M/sdrvqrlw9uFSNuHmXvCw8tecjX/H+BmHzJB9siu944X1x99nJn6bqksUx7EZ3wnhln91uqfJg7zFpK3oDqdQ==","signatures":[{"sig":"MEYCIQCi/D/9UTBR2LcXZhpHs7ceHOwq/pOAyfzmpIQMOIvbmgIhAO/M79Bt5drbgUcTORJYN7CwO8teGl9aOr87rIRCXzjF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5848,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvax0CRA9TVsSAnZWagAAgFIP/AtBMt7uxHTcgM3AsozI\ndpE1NCK01Fi4tfvG7hoXGPyS00D1G/wfVMrda8U8MU9z/vDID89sn/DOiUuf\nESXQZ5zAwO5lM9DJNeSa1Y+5eAnLjW1xjhqaUhAAK5ouGFkguKwAUhp11RL4\nr9q/Gj8IAqRpAQrH7WyxYRDZbpvlGETTHefciFx3fgN8Uqf2hSufGZLEumyO\n9Lu5xESfz1XDwUazxptrg1q6ECMV0alqUpyHBcRk6r+cJzY+M7ZjLwVlWNdD\n+e8laGjBR3cja65Qqgus63uooOUzllThuCzkimZAHAlJhdWyIonATLZAQICL\nq/HuHEzQPTRuQOEi/yDb5rjYuzp2UY+R1fh3wPf8+FKvJo3EID3HhBxTB5Tc\nuJszaqpqp8lsm8/4B0RAa+p/PXC8f9qo5WTl6DZqdWkYwiFzXNZyl83kVQK1\njKBpQas3/LgtdN/neFPHBevnGZQ6XGGg2bsl8abu1IDszccy8g1juwurf3SO\ncNPDc9kTgVJ7K3h/4BvpHrXVCbD9JPP6v84tIt2ZcTw3qNVPX4ga9tUyHLtB\n+wf7LwU6LUT0vOLgALptMdzh2IwZcLEl/j6Du4Qnawbq9zYKI/KdY4+FNf3+\nm2XmVvMZL80guHMIKCYN5KIsZ09AGhmq+MVRwc/7YQ3XVAWDf7KF0zl00WXI\nC2q8\r\n=EnLI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"logger.js","gitHead":"6c48daba84fc981f285ae49ed723025e7ca1a9c5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nherment","email":"nherment@gmail.com"},"repository":{"url":"git+https://github.com/Portchain/logacious.git","type":"git"},"_npmVersion":"6.1.0","description":"A node.js logger that outputs the filename and line number of where the logger is called","directories":{},"_nodeVersion":"10.3.0","dependencies":{"ain2":"2.0.0","lodash":"4.17.4","moment":"2.17.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logacious_0.4.0_1555934324052_0.8686861287839385","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"logacious","version":"0.4.1","keywords":["logger","line","file","name"],"author":{"name":"Nicolas Herment","email":"nherment@gmail.com"},"license":"SEE LICENSE IN LICENSE.md","_id":"logacious@0.4.1","maintainers":[{"name":"duma","email":"dumaron@gmail.com"},{"name":"antucg","email":"antucg@gmail.com"},{"name":"aolivarius","email":"anders@portchain.com"},{"name":"utkuufuk","email":"utkuufuk@gmail.com"},{"name":"nherment","email":"nherment@gmail.com"},{"name":"piccoloaiutante","email":"michelecapra83@gmail.com"},{"name":"fgandellini","email":"fgandellini@gmail.com"},{"name":"sergei.patiakin","email":"sergei.patiakin@gmail.com"},{"name":"helena.munoz","email":"helena.munoz@gmail.com"},{"name":"joao_portchain","email":"joao@portchain.com"},{"name":"michelemazzucco","email":"hello@michelemazzucco.it"},{"name":"wilk-portchain","email":"vincenzo@portchain.com"},{"name":"davidchambers","email":"dc@davidchambers.me"},{"name":"sebchr","email":"sebastian@portchain.com"}],"homepage":"https://github.com/Portchain/logacious#readme","bugs":{"url":"https://github.com/Portchain/logacious/issues"},"dist":{"shasum":"99c1a48f87ad5fdb06d6e5921a978f148316fd6d","tarball":"https://registry.npmjs.org/logacious/-/logacious-0.4.1.tgz","fileCount":4,"integrity":"sha512-x2nSwgqInn6g4IqCeVuP7UeZwUkKIFe/c9GqOsGupGIhLmJBscObbzKNpuSgwGhbxRh+KW/AC+v1LDrw87Yp3g==","signatures":[{"sig":"MEUCIFtNfp/sMR4a3z/OsA+7IIwkPTq7vxZXxXyfPxxDk+InAiEAsobgHgCVl19AXP/ZlI913w3EfxntqeFSo3aarODZJis=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2yPPCRA9TVsSAnZWagAANzEQAIvbk4hREajil50T4sD0\n9We1UDIWTZt4IlHrJHyuPffx8t08IUUcUoATw1AFmkUR3KWNviCz9F9dEUnI\n8OPI0Fqs21ftUroE9eyOZQ3xydYY5/PweYI+fOVSuSZfVKtmDEcqosOP6gW0\nv3SrkVdylwVJ+U7W4yn6gDd9uwLa5te8PCFDUN/PHkx1D3BarOdBavVgaDBv\nxoy+fSfIxJWIO6xvdmPwhAV0q9SXvPFZFDDOnyqzHchoSGiDtZeu61/6O2rV\nvElW8/WsVjqyUMpMZqSlBA3TwW7Qz5KKJagMXLMD5HV5/4fIPLReuqZxM3it\niwj1GA9Z/asAS7OdJvjUJwcmcQP0nd8G1LfvdG7sA2sfX7/WZtdfJSV8OqeH\n6OkLdB5brV3loq0xlIyYx8ryFK458Z+88u1Cr21OQUeYx1QBNSGSzpPJSdxC\neKBBivBEX7HfOnvH9wNnhQjHErjwJ1XNOBWGAigO8yDhmyYprO3oU/VqaKJK\nNNV3RbfcCmIaQNdY26NsaA0ty/sc55kJ3lYCfyjJyfmf6SCMq2N2pjl0uJr/\nMS7e41c7JDi4MMkQa9Iq+cL90HW2vEhhGmJ5IsZzpSU10R4qNna6YHO8FDNM\nwfnv72MqVKjFfUDjSYCEKeDTorquVgWK+xOXomv9AOxUIXD4oTY9hFC3w2WM\nJG6S\r\n=vuzk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"logger.js","gitHead":"72b128928859222580de5e309ebdb13aec10c043","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"utkuufuk","email":"utkuufuk@gmail.com"},"repository":{"url":"git+https://github.com/Portchain/logacious.git","type":"git"},"_npmVersion":"6.14.11","description":"A node.js logger that outputs the filename and line number of where the logger is called","directories":{},"_nodeVersion":"15.5.1","dependencies":{"ain2":"2.0.0","lodash":"^4.17.20","moment":"2.24.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/logacious_0.4.1_1611216455486_0.899975447512025","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-03-06T13:01:22.819Z","modified":"2026-10-01T08:17:28.229Z","0.1.0":"2017-03-06T13:01:22.819Z","0.2.0":"2017-05-09T14:11:36.336Z","0.3.0":"2017-10-18T07:51:30.705Z","0.4.0":"2019-04-22T11:58:44.179Z","0.4.1":"2021-01-21T08:07:35.614Z"},"bugs":{"url":"https://github.com/Portchain/logacious/issues"},"author":{"name":"Nicolas Herment","email":"nherment@gmail.com"},"license":"SEE LICENSE IN LICENSE.md","homepage":"https://github.com/Portchain/logacious#readme","keywords":["logger","line","file","name"],"repository":{"url":"git+https://github.com/Portchain/logacious.git","type":"git"},"description":"A node.js logger that outputs the filename and line number of where the logger is called","maintainers":[{"email":"hello@michelemazzucco.it","name":"michelemazzucco"},{"email":"sebastian@portchain.com","name":"sebchr"},{"email":"anders@portchain.com","name":"aolivarius"},{"email":"dumaron@gmail.com","name":"duma"},{"email":"miguelmatos.dev@gmail.com","name":"migmat"},{"email":"luigi.balzano@gmail.com","name":"luigibalz"},{"email":"pete@portchain.com","name":"peteportchain"},{"email":"acoelhosantos@gmail.com","name":"acoelhosantos"},{"email":"faiqababar@gmail.com","name":"faiqababar"},{"email":"simona@portchain.com","name":"simonapaunova"},{"email":"konstantinos@portchain.com","name":"konstantinos.portchain"},{"email":"devops+npm-portchain-build@portchain.com","name":"portchain-build"},{"email":"npm@anderki.dk","name":"daduck"},{"email":"kasper@portchain.com","name":"ks-portchain"},{"email":"nherment@gmail.com","name":"nherment"},{"email":"michelecapra83@gmail.com","name":"piccoloaiutante"}],"readme":"# logacious\n\nLogger with line numbers that can also send logs to syslog.\n\nExample of the output:\n\n```\n[INFO] 2018-01-23 07:38:24.946 lib/migrations.js:25 \"Migration successful\"\n[INFO] 2018-01-23 07:38:24.948 lib/cluster.js:59 \"All initialization function successful.\"\n[INFO] 2018-01-23 07:38:24.949 lib/cluster.js:65 \"Starting workers\" 3\n```\n\n## Usage\n\n```\nconst logger = require('logacious')()\n\nlogger.log('foo', new Error(), object)\nlogger.info('foo', new Error(), object)\nlogger.warn('foo', new Error(), object)\nlogger.error('foo', new Error(), object)\n```\n\n## Environment variables\n\n- `LOGACIOUS_SYSLOG`: set it to disable console and redirect all logs to syslog.\n- `LOGACIOUS_SYSLOG_TAG`: cf. https://github.com/phuesler/ain\n- `LOGACIOUS_SYSLOG_FACILITY`: cf. https://github.com/phuesler/ain\n- `LOGACIOUS_SYSLOG_HOSTNAME`: cf. https://github.com/phuesler/ain\n- `LOGACIOUS_SYSLOG_PORT`: cf. https://github.com/phuesler/ain\n","readmeFilename":"README.md"}