{"_id":"syslog-client","_rev":"21-4949072d12bc2d91b291cd3b1b64f3b3","name":"syslog-client","description":"TCP and UDP syslog client RFC 5424 & RFC 3164","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"syslog-client","version":"1.0.0","description":"TCP and UDP syslog client","main":"index.js","directories":{"example":"example"},"dependencies":{},"contributors":[{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"}],"repository":{"type":"mercurial","url":"https://bitbucket.org/stephenwvickers/node-syslog-client"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"author":{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"},"license":"MIT","gitHead":"dbbd4ce10b614d833eba71d79e3ac884b76835a0","_id":"syslog-client@1.0.0","scripts":{},"_shasum":"141dc2e2dd128ca37b2501d235773cb72c8cbe35","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"},"maintainers":[{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"}],"dist":{"shasum":"141dc2e2dd128ca37b2501d235773cb72c8cbe35","tarball":"https://registry.npmjs.org/syslog-client/-/syslog-client-1.0.0.tgz","integrity":"sha512-dA2jCyRZB5ADAwkeYofEbFx4rhA8OIZ+GIr5EOf/cIF0gYB7SPdf1j9d/X5kParbZnfmAlP8sXHe6HRBOl86kQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEeImQUY9H+piSyYAkNfEu2avifhH4UuTKiTQawLnAMXAiEAsuH5ftM2j/elKBpCO+HO8hZlTJTrOqdel2u6uQ+V2WY="}]}},"1.0.2":{"name":"syslog-client","version":"1.0.2","description":"TCP and UDP syslog client","main":"index.js","directories":{"example":"example"},"dependencies":{},"contributors":[{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"}],"repository":{"type":"mercurial","url":"https://bitbucket.org/stephenwvickers/node-syslog-client"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"author":{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"},"license":"MIT","gitHead":"6f8936951d1281c4b50aef1a46f5b007ece0100d","_id":"syslog-client@1.0.2","scripts":{},"_shasum":"6370a8b10945138fe5f50531688049cba8b1dc26","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"},"maintainers":[{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"}],"dist":{"shasum":"6370a8b10945138fe5f50531688049cba8b1dc26","tarball":"https://registry.npmjs.org/syslog-client/-/syslog-client-1.0.2.tgz","integrity":"sha512-1CRSTIt55EMTQp2ToIVwk5XzzTPsJhNScDbo6pzCd+PqJTmBY98JN436p/509ST4x59ngtGiSG2qdw/p/oBaFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBu4L/I3o7uGvg6LO6CAZwdeitgSzyH5RuKHaKsKbrlvAiA5pSvo85pMHjg/G3RRG1PEp7nzNfYR88tjYGO+6yhJOQ=="}]}},"1.0.3":{"name":"syslog-client","version":"1.0.3","description":"TCP and UDP syslog client","main":"index.js","directories":{"example":"example"},"dependencies":{},"contributors":[{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"}],"repository":{"type":"mercurial","url":"https://bitbucket.org/stephenwvickers/node-syslog-client"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"author":{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"},"license":"MIT","gitHead":"62b594db47a73718075e886f4388b59989964901","_id":"syslog-client@1.0.3","scripts":{},"_shasum":"4a91f536d1f7cd79220a6345ef3bee366dbb52ae","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"},"maintainers":[{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"}],"dist":{"shasum":"4a91f536d1f7cd79220a6345ef3bee366dbb52ae","tarball":"https://registry.npmjs.org/syslog-client/-/syslog-client-1.0.3.tgz","integrity":"sha512-Vq3mGRqn43PrwwMMA3iABVH+3D6/wIp2rzdR1E+tOtrz4qNe4/xqD6pxjL8yT/VEBem5dR84K6ncel4ON1zPJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBf/vvvUB8ZF2mfcIRpJL74ZRpagaRDqtE4fJtfr+I0uAiEAzdXGxf8WujjfujRAavz2nrnbfQ2brn61DhVoXj0BQJc="}]}},"1.0.4":{"name":"syslog-client","version":"1.0.4","description":"TCP and UDP syslog client","main":"index.js","directories":{"example":"example"},"dependencies":{},"contributors":[{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"}],"repository":{"type":"mercurial","url":"https://bitbucket.org/stephenwvickers/node-syslog-client"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"author":{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"},"license":"MIT","gitHead":"1b48126772f1e727eecf5e54dbdc1d4faa1cefc1","_id":"syslog-client@1.0.4","scripts":{},"_shasum":"0dc9def9f9f0767e5f9fd3907a643c55b708c485","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"},"maintainers":[{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"}],"dist":{"shasum":"0dc9def9f9f0767e5f9fd3907a643c55b708c485","tarball":"https://registry.npmjs.org/syslog-client/-/syslog-client-1.0.4.tgz","integrity":"sha512-aYcyja/z9AwhvLN5W5Ozwfwnf1KBn1z/vhCqN/lB19FSxgSbcI/yIIpjbcxwyDrgqKZ/bsKohRlKo4ajWQDwzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6HW/e+IjFjlZSgQGZCy+94xYrzv8kkGp8Ov8psI4RAAiEAhpVtGotkeHYbMiOq3EJpaYWVIEx+UptUOriZ6JVJrlg="}]}},"1.0.5":{"name":"syslog-client","version":"1.0.5","description":"TCP and UDP syslog client","main":"index.js","directories":{"example":"example"},"dependencies":{},"contributors":[{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stephenwvickers/node-syslog-client.git"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"author":{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"},"license":"MIT","gitHead":"d475c8ec2d676727e4bbb3562fb7c7ec5b48fa24","bugs":{"url":"https://github.com/stephenwvickers/node-syslog-client/issues"},"homepage":"https://github.com/stephenwvickers/node-syslog-client#readme","_id":"syslog-client@1.0.5","scripts":{},"_shasum":"39500d6f14ee36a87a5620124d88921f1070dfd6","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"},"dist":{"shasum":"39500d6f14ee36a87a5620124d88921f1070dfd6","tarball":"https://registry.npmjs.org/syslog-client/-/syslog-client-1.0.5.tgz","integrity":"sha512-ucQvjgPxJ0NZctMKDFCtGo8zOAiaVSQ67/TuzpHNQ67AwoP8txoybbnlZ2sia5WKeuOsKe3y2r087Qejagc6Yg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJ2twaYvGmQWWO+VvrBf+lCCB/ci+AOkbsFSR91tN0SAiEArniqP2rBCYCxNt2hQZLMwNO7Q/YYRTIDJou4VQ41y8M="}]},"maintainers":[{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"}]},"1.0.6":{"name":"syslog-client","version":"1.0.6","description":"TCP and UDP syslog client","main":"index.js","directories":{"example":"example"},"dependencies":{},"contributors":[{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stephenwvickers/node-syslog-client.git"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"author":{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"},"license":"MIT","gitHead":"227f9de0c9044ece813909c3c25db46b44743b38","bugs":{"url":"https://github.com/stephenwvickers/node-syslog-client/issues"},"homepage":"https://github.com/stephenwvickers/node-syslog-client#readme","_id":"syslog-client@1.0.6","scripts":{},"_shasum":"1400efb2e1f8a3145f5c222e1a68126d203b04a0","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"},"dist":{"shasum":"1400efb2e1f8a3145f5c222e1a68126d203b04a0","tarball":"https://registry.npmjs.org/syslog-client/-/syslog-client-1.0.6.tgz","integrity":"sha512-SzvqHuV6PRz1j0uYKju/SKQUPOicv9Cb7YVRZ653kBBCPbjyhqGoxUB0rGyNd7yH11+aiKeTmEUPqHzIENe4cA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRj5vbWPfpEkp+EdjVdpot4tCxjcQztUtCMXpulCUP3wIhAIduQxBEZU9D/B1vTjd3M/5HTQBWFw1oCU2r85e4WezF"}]},"maintainers":[{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"}]},"1.0.7":{"name":"syslog-client","version":"1.0.7","description":"TCP and UDP syslog client","main":"index.js","directories":{"example":"example"},"dependencies":{},"contributors":[{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stephenwvickers/node-syslog-client.git"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"author":{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"},"license":"MIT","gitHead":"cdb687fcc76306d803f06bba09f5c8d7f757998e","bugs":{"url":"https://github.com/stephenwvickers/node-syslog-client/issues"},"homepage":"https://github.com/stephenwvickers/node-syslog-client#readme","_id":"syslog-client@1.0.7","scripts":{},"_shasum":"180eb0d305398d735873805ac322a462a3c61ae2","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"},"dist":{"shasum":"180eb0d305398d735873805ac322a462a3c61ae2","tarball":"https://registry.npmjs.org/syslog-client/-/syslog-client-1.0.7.tgz","integrity":"sha512-Btb6a2PczQ97I8JM1vh2SMU7alvRAEU5uM+CT9MBEKWUnDOhL0AvAaxrjqbwvf2gjh6v/sOxxB80+JfVjvQpQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB2hxwcdKVHrMNPKTd1Ux7HiaflvGDU912AtsDhCixiNAiEAoplYOJG/NwZvcjKPwZCvGxZEvey9Y8qQEr06Ok2n59s="}]},"maintainers":[{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/syslog-client-1.0.7.tgz_1454965675510_0.18307557026855648"}},"1.0.8":{"name":"syslog-client","version":"1.0.8","description":"TCP and UDP syslog client","main":"index.js","directories":{"example":"example"},"dependencies":{},"contributors":[{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"}],"repository":{"type":"git","url":"git://github.com/stephenwvickers/node-syslog-client.git"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"author":{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"},"license":"MIT","gitHead":"269e0f7980f01e49cf19a4284e56f3de9b164a96","bugs":{"url":"https://github.com/stephenwvickers/node-syslog-client/issues"},"homepage":"https://github.com/stephenwvickers/node-syslog-client#readme","_id":"syslog-client@1.0.8","scripts":{},"_shasum":"1ca54cb67cdbc9874914a185c146d0f47ba867b8","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.6","_npmUser":{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"},"dist":{"shasum":"1ca54cb67cdbc9874914a185c146d0f47ba867b8","tarball":"https://registry.npmjs.org/syslog-client/-/syslog-client-1.0.8.tgz","integrity":"sha512-S3SgcFF2OUJstACQSqMD+rBKWbeZLIxTWGdevWgOmFDh9CWN2NM7t87lmYYjwfxdnzDAOm3uFYUJT+jOYZhRgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBCZGq0aJqHoDBhQUragNPLBToQ5Pq1IshHU7zTvvpZpAiAIiGKNlnI3RIFrEd8gynN2fM0Hf9sIuXn5mi1ptpl6zw=="}]},"maintainers":[{"name":"stephen.vickers","email":"stephen.vickers.sv@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/syslog-client-1.0.8.tgz_1472244889747_0.8823667510878295"}},"1.0.10":{"name":"syslog-client","version":"1.0.10","description":"TCP and UDP syslog client","main":"index.js","scripts":{"test":"mocha --reporter spec","coverage":"istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec"},"directories":{"example":"example"},"dependencies":{},"contributors":[{"name":"Paul Grove","email":"paul.a.grove@gmail.com"},{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"}],"repository":{"type":"git","url":"git://github.com/paulgrove/node-syslog-client.git"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"author":{"name":"Paul Grove","email":"paul.a.grove@gmail.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","mocha":"^3.0.2","bluebird":"^3.4.6","istanbul":"^0.4.5"},"gitHead":"8d7aa9ddd770574e3b78faa06b32628f52314e1a","bugs":{"url":"https://github.com/paulgrove/node-syslog-client/issues"},"homepage":"https://github.com/paulgrove/node-syslog-client#readme","_id":"syslog-client@1.0.10","_shasum":"b4d8ae129686995d9ec8bb821da0073afc2d89b8","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"paulgrove","email":"paul.a.grove@gmail.com"},"dist":{"shasum":"b4d8ae129686995d9ec8bb821da0073afc2d89b8","tarball":"https://registry.npmjs.org/syslog-client/-/syslog-client-1.0.10.tgz","integrity":"sha512-ss3Waw26eoFlDGbQ2SdRdieuA2SFgcvJupob8H9H7D6HJB60dh5g2EhTDRyTf5O0UALxcReBtIcjxbPk+/TFLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3AW2ZMQnnu2PE6LrWtKISn4fQNazyk3cHGZWgnKRXGAiA0IOAMm6vNIfyEwOaS5iKyl3JWw3s3X4vT0lx8ENie+A=="}]},"maintainers":[{"name":"paulgrove","email":"paul.a.grove@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/syslog-client-1.0.10.tgz_1477529948932_0.27984670107252896"}},"1.0.11":{"name":"syslog-client","version":"1.0.11","description":"TCP and UDP syslog client","main":"index.js","scripts":{"test":"mocha --reporter spec","coverage":"istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec"},"directories":{"example":"example"},"dependencies":{},"contributors":[{"name":"Paul Grove","email":"paul.a.grove@gmail.com"},{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"}],"repository":{"type":"git","url":"git://github.com/paulgrove/node-syslog-client.git"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"author":{"name":"Paul Grove","email":"paul.a.grove@gmail.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","mocha":"^3.0.2","bluebird":"^3.4.6","istanbul":"^0.4.5"},"gitHead":"f034f102d53e7c7f28c3c27bc5a99f955134aa59","bugs":{"url":"https://github.com/paulgrove/node-syslog-client/issues"},"homepage":"https://github.com/paulgrove/node-syslog-client#readme","_id":"syslog-client@1.0.11","_shasum":"492412904bf31c42b20602dcfae5260e212b6710","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"paulgrove","email":"paul.a.grove@gmail.com"},"dist":{"shasum":"492412904bf31c42b20602dcfae5260e212b6710","tarball":"https://registry.npmjs.org/syslog-client/-/syslog-client-1.0.11.tgz","integrity":"sha512-vv6n3aKk8snl72VA3y6HjRiqUegRkniMGytbh2caJO1qD1ne+FiLBEV5RHnb11uUKNOLJh2xv8zXkLmPzHB6VQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEDPJhFaiNBhAhM34/VAXBIE216o8EkDImbwogJ1B3j/AiEA4oVX+E+11hDwz1/5TCvxdPjzOOusIa1465+QBGVdO1w="}]},"maintainers":[{"name":"paulgrove","email":"paul.a.grove@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/syslog-client-1.0.11.tgz_1479136664124_0.20713978866115212"}},"1.1.0":{"name":"syslog-client","version":"1.1.0","description":"TCP and UDP syslog client RFC 5424 & RFC 3164","main":"index.js","scripts":{"test":"mocha --reporter spec","coverage":"istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec"},"directories":{"example":"example"},"dependencies":{},"contributors":[{"name":"Paul Grove","email":"paul.a.grove@gmail.com"},{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"}],"repository":{"type":"git","url":"git://github.com/paulgrove/node-syslog-client.git"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"author":{"name":"Paul Grove","email":"paul.a.grove@gmail.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","mocha":"^3.0.2","bluebird":"^3.4.6","istanbul":"^0.4.5"},"gitHead":"c74d49dca5d6bc466a472f67882071159f2fb0df","bugs":{"url":"https://github.com/paulgrove/node-syslog-client/issues"},"homepage":"https://github.com/paulgrove/node-syslog-client#readme","_id":"syslog-client@1.1.0","_shasum":"27409dde963033d5ada84fd458f5ca3fdd811450","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.4","_npmUser":{"name":"paulgrove","email":"paul.a.grove@gmail.com"},"dist":{"shasum":"27409dde963033d5ada84fd458f5ca3fdd811450","tarball":"https://registry.npmjs.org/syslog-client/-/syslog-client-1.1.0.tgz","integrity":"sha512-FbF4MpnToAGe5t5fQXEOF9/cRvzGjLUqrNAW65Fuhl8Y99J6pBfUIl2bsF98JS4NJ5+J4wVLFKo7Qvt2EpSyZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF9Jib0snGCG3NHLQJQwbpUVVSb2aPcdM4TZERKQqsG5AiEA/P7RLQstZtil2eQbnIZpMiUvp4MK07sbPfCF/uIKITA="}]},"maintainers":[{"name":"paulgrove","email":"paul.a.grove@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/syslog-client-1.1.0.tgz_1495123277356_0.04448380833491683"}},"1.1.1":{"name":"syslog-client","version":"1.1.1","description":"TCP and UDP syslog client RFC 5424 & RFC 3164","main":"index.js","scripts":{"test":"mocha --reporter spec","coverage":"istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec"},"directories":{"example":"example"},"dependencies":{},"contributors":[{"name":"Paul Grove","email":"paul.a.grove@gmail.com"},{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"},{"name":"Tim Garthwaite","email":"tim@mividstudios.com"}],"repository":{"type":"git","url":"git://github.com/paulgrove/node-syslog-client.git"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"author":{"name":"Paul Grove","email":"paul.a.grove@gmail.com"},"license":"MIT","devDependencies":{"chai":"^3.5.0","mocha":"^3.0.2","bluebird":"^3.4.6","istanbul":"^0.4.5"},"gitHead":"e3a4de35967401839425b92a2266e39f92a6c9c1","bugs":{"url":"https://github.com/paulgrove/node-syslog-client/issues"},"homepage":"https://github.com/paulgrove/node-syslog-client#readme","_id":"syslog-client@1.1.1","_shasum":"bdb28de3b5b7eb28a11352ec3eb78e55aed2ab6b","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.4","_npmUser":{"name":"paulgrove","email":"paul.a.grove@gmail.com"},"dist":{"shasum":"bdb28de3b5b7eb28a11352ec3eb78e55aed2ab6b","tarball":"https://registry.npmjs.org/syslog-client/-/syslog-client-1.1.1.tgz","integrity":"sha512-c3qKw8JzCuHt0mwrzKQr8eqOc3RB28HgOpFuwGMO3GLscVpfR+0ECevWLZq/yIJTbx3WTb3QXBFVpTFtKAPDrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDws39+BQmiXf5VkPdcgHmSz58JC+AtGXG0wWRjH4OmDAIhALY+7iv5USWCcrtJd9gUSxFGWjfYgjGIKnalx6oVDV80"}]},"maintainers":[{"name":"paulgrove","email":"paul.a.grove@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/syslog-client-1.1.1.tgz_1499330293468_0.3622846140060574"}}},"readme":"# syslog-client\n\n[![Build Status](https://travis-ci.org/paulgrove/node-syslog-client.svg?branch=master)](https://travis-ci.org/paulgrove/node-syslog-client) [![Code Climate](https://codeclimate.com/github/paulgrove/node-syslog-client/badges/gpa.svg)](https://codeclimate.com/github/paulgrove/node-syslog-client) [![Test Coverage](https://codeclimate.com/github/paulgrove/node-syslog-client/badges/coverage.svg)](https://codeclimate.com/github/paulgrove/node-syslog-client/coverage) [![Issue Count](https://codeclimate.com/github/paulgrove/node-syslog-client/badges/issue_count.svg)](https://codeclimate.com/github/paulgrove/node-syslog-client)\n\nThis module is a pure JavaScript implementation of the [BSD Syslog Protocol RFC 3164][1] and the [Syslog Protocol RFC 5424][2].\n\nThis module is installed using [node package manager (npm)][3]:\n\n```\nnpm install syslog-client\n```\n\nIt is loaded using the `require()` function:\n\n```js\nvar syslog = require(\"syslog-client\");\n```\n\nTCP or UDP clients can then be created to log messages to remote hosts.\n\n```js\nvar client = syslog.createClient(\"127.0.0.1\");\n\nclient.log(\"example message\");\n```\n\n[1]: https://www.ietf.org/rfc/rfc3164.txt\n[2]: https://tools.ietf.org/html/rfc5424\n[3]: https://npmjs.org\n\n# Constants\n\nThe following sections describe constants exported and used by this module.\n\n## syslog.Transport\n\nThis object contains constants for all valid values for the `transport`\nattribute passed to the `options` argument for the `createClient()` function.\nThe following constants are defined in this object:\n\n * `Tcp`\n * `Udp`\n\n## syslog.Facility\n\nThis object contains constants for all valid values for the `facility`\nattribute passed to the `options` argument for the `log()` method on the\n`Client` class. The following constants are defined in this object:\n\n * `Kernel` - 0\n * `User` - 1\n * `System` - 3\n * `Audit` - 13\n * `Alert` - 14\n * `Local0` - 16\n * `Local1` - 17\n * `Local2` - 18\n * `Local3` - 19\n * `Local4` - 20\n * `Local5` - 21\n * `Local6` - 22\n * `Local7` - 23\n\n## syslog.Severity\n\nThis object contains constants for all valid values for the `severity`\nattribute passed to the `options` argument for the `log()` method on the\n`Client` class. The following constants are defined in this object:\n\n * `Emergency` - 0\n * `Alert` - 1\n * `Critical` - 2\n * `Error` - 3\n * `Warning` - 4\n * `Notice` - 5\n * `Informational` - 6\n * `Debug` - 7\n\n# Using This Module\n\nAll messages are sent using an instance of the `Client` class. This\nmodule exports the `createClient()` function which is used to create\ninstances of the `Client` class.\n\n## syslog.createClient([target], [options])\n\nThe `createClient()` function instantiates and returns an instance of the\n`Client` class:\n\n```js\n// Default options\nvar options = {\n\tsyslogHostname: os.hostname(),\n\ttransport: syslog.Transport.Udp,\n\tport: 514\n};\n\nvar client = syslog.createClient(\"127.0.0.1\", options);\n```\n\n\nThe optional `target` parameter defaults to `127.0.0.1`. The optional\n`options` parameter is an object, and can contain the following items:\n\n * `port` - TCP or UDP port to send messages to, defaults to `514`\n * `syslogHostname` - Value to place into the `HOSTNAME` part of the `HEADER`\n part of each message sent, defaults to `os.hostname()`\n * `tcpTimeout` - Number of milliseconds to wait for a connection attempt to\n the specified Syslog target, and the number of milliseconds to wait for\n TCP acknowledgements when sending messages using the TCP transport,\n defaults to `10000` (i.e. 10 seconds)\n * `transport` - Specify the transport to use, can be either\n `syslog.Transport.Udp` or `syslog.Transport.Tcp`, defaults to\n `syslog.Transport.Udp`\n * `facility` - set default for `client.log()`; default is `syslog.Facility.Local0`.\n * `severity` - set default for `client.log()`; default is `syslog.Severity.Informational`.\n * `rfc3164` - set to false to use [RFC 5424](https://tools.ietf.org/html/rfc5424)\n syslog header format; default is true for the older [RFC 3164](https://tools.ietf.org/html/rfc3164)\n format.\n * `appName` - set the APP-NAME field when using `rfc5424`; default uses `process.title`\n * `dateFormatter` - change the default date formatter when using `rfc5424`; interface: `function(date) { return string; }`; defaults to `function(date) { return date.toISOString(); }`\n\n## client.on(\"close\", callback)\n\nThe `close` event is emitted by the client when the clients underlying TCP or\nUDP socket is closed.\n\nNo arguments are passed to the callback.\n\nThe following example prints a message to the console when a clients\nunderlying TCP or UDP socket is closed:\n\n```js\nclient.on(\"close\", function () {\n\tconsole.log(\"socket closed\");\n});\n```\n\n## client.on(\"error\", callback)\n\nThe `error` event is emitted by the client when the clients underlying TCP or\nUDP socket emits an error.\n\nThe following arguments will be passed to the `callback` function:\n\n * `error` - An instance of the `Error` class, the exposed `message` attribute\n will contain a detailed error message.\n\nThe following example prints a message to the console when an error occurs\nwith a clients underlying TCP or UDP socket:\n\n```js\nclient.on(\"error\", function (error) {\n\tconsole.error(error);\n});\n```\n\n## client.close()\n\nThe `close()` method closes the clients underlying TCP or UDP socket. This\nwill result in the `close` event being emitted by the clients underlying TCP\nor UDP socket which is passed through to the client, resulting in the client\nalso emitting a `close` event.\n\nThe following example closes a clients underlying TCP or UDP socket:\n\n```js\nclient.close();\n```\n\n## client.log(message, [options], [callback])\n\nThe `log()` method sends a Syslog message to a remote host.\n\nThe `message` parameter is a string containing the message to be logged.\n\nThe optional `options` parameter is an object, and can contain the following\nitems:\n\n * `facility` - Either one of the constants defined in the `syslog.Facility`\n object or the facility number to use for the message, defaults to\n `syslog.Facility.Local0` (see `syslog.createClient()`)\n * `severity` - Either one of the constants defined in the `syslog.Severity`\n object or the severity number to use for the message, defaults to\n `syslog.Severity.Informational` (see `syslog.createClient()`)\n * `rfc3164` - set to false to use [RFC 5424](https://tools.ietf.org/html/rfc5424)\n syslog header format; default is true for the older [RFC 3164](https://tools.ietf.org/html/rfc3164)\n format.\n * `timestamp` - Optional Javascript Date() object to back-date the message.\n * `msgid` - Optional [RFC 5424](https://tools.ietf.org/html/rfc5424) message-id.\n\nThe `callback` function is called once the message has been sent to the remote\nhost, or an error occurred. The following arguments will be passed to the\n`callback` function:\n\n * `error` - Instance of the `Error` class or a sub-class, or `null` if no\n error occurred\n\nEach message sent to the remote host will have a newline character appended\nto it, if one is not already appended. Care should be taken to ensure newline\ncharacters are not embedded within the message passed to this method (i.e. not\nappearing at the end), as this may cause some syslog relays/servers to\nincorrectly parse the message.\n\nThe following example sends a message to a remote host:\n\n```js\nvar options = {\n\tfacility: syslog.Facility.Daemon,\n\tseverity: syslog.Severity.Critical\n};\n\nvar message \"something is wrong with this daemon!\";\n\nclient.log(message, options, function(error) {\n\tif (error) {\n\t\tconsole.error(error);\n\t} else {\n\t\tconsole.log(\"sent message successfully\");\n\t}\n});\n```\n\n# Example Programs\n\nExample programs are included under the modules `example` directory.\n\n# Running tests and test coverage\n\nTests can be run with:\n\n```\nnpm test\n```\n\nInstall dev dependencies before running test coverage:\n\n```\nnpm install --dev\nnpm run coverage\n```\n\nCoverage should be generated into `coverage/lcov-report/index.html`.\n\n# Changes\n\n## Version 1.0.0 - 31/07/2015\n\n * Initial release\n\n## Version 1.0.1 - 31/07/2015\n\n * Correct typo in README.md\n\n## Version 1.0.2 - 31/07/2015\n\n * Correct typo in README.md :(\n\n## Version 1.0.3 - 01/08/2015\n\n * Correct typo in README.md :( :(\n\n## Version 1.0.4 - 08/08/2015\n\n * Transport error events are not propagated to an error event in the Syslog\n client\n\n## Version 1.0.5 - 22/10/2015\n\n * Redundant release\n\n## Version 1.0.6 - 22/10/2015\n\n * Slight formatting error in the README.md file\n\n## Version 1.0.7 - 08/02/2016\n\n * Remove debug `console.dir()` statement accidently left in code\n\n## Version 1.0.8 - 26/08/2016\n\n * Variable `key` in `_expandConstantObject()` missing `var` declaration\n\n## Version 1.0.9 - 27/10/2016\n\n * Added mocha test framework\n * Added istanbul test coverage\n * Added tests for aprox 89% coverage\n * Fixed bug where transports where not being reused\n * Fixed bug where some connections would not `close()`\n * Made `options` in `.log()` optional as per existing documentation\n * Make `cb` in `.log()` optional and update documentation\n * Fixed bug where `error` event and `.log` callback wouldn't predictably receive error\n * `close` event is now always fired when `.close()` is called, regarless of open connection\n * New maintainer Paul Grove\n * Updated License\n * Travis-CI and codeclimate build automation and badges\n * Code linted using eslint\n\n## Version 1.0.10 - 27/10/2016\n\n * No changes, issues with publishing to npm\n\n## Version 1.0.11 - 14/11/2016\n\n * Fix miscalculation of PRI for Emegency and Kernel Facitilty/Severity\n\n## Version 1.1.0 - 18/05/2017\n\n * Fix issue resolving IP class from hostname\n * Call log callback asynchronously, preventing issues when closing in that callback\n * Support for RFC 5424\n * Fix erroneous space after PRI\n\n# Additional Contributors\n\n* SirWumpus (github)\n* acanimal (github)\n* cdscott (github)\n* mccarthy (github)\n* MarkHerhold (github)\n* JeremyBernier (github)\n\n# License\n\nCopyright (c) 2017 Paul Grove\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","maintainers":[{"name":"paulgrove","email":"paul.a.grove@gmail.com"}],"time":{"modified":"2022-06-27T03:17:49.522Z","created":"2015-07-31T21:06:40.054Z","1.0.0":"2015-07-31T21:06:40.054Z","1.0.2":"2015-07-31T21:18:39.616Z","1.0.3":"2015-08-01T17:52:11.325Z","1.0.4":"2015-08-08T19:26:13.380Z","1.0.5":"2015-09-22T19:14:15.699Z","1.0.6":"2015-09-22T19:17:36.583Z","1.0.7":"2016-02-08T21:07:58.244Z","1.0.8":"2016-08-26T20:54:51.928Z","1.0.9":"2016-10-27T00:51:25.749Z","1.0.10":"2016-10-27T00:59:11.152Z","1.0.11":"2016-11-14T15:17:46.273Z","1.1.0":"2017-05-18T16:01:18.121Z","1.1.1":"2017-07-06T08:38:14.756Z"},"keywords":["logger","logging","syslog","syslog-client","syslog-logger","syslog-logging","tcp-syslog","tcp-syslog-client","udp-syslog","udp-syslog-client"],"repository":{"type":"git","url":"git://github.com/paulgrove/node-syslog-client.git"},"contributors":[{"name":"Paul Grove","email":"paul.a.grove@gmail.com"},{"name":"Stephen Vickers","email":"stephen.vickers.sv@gmail.com"},{"name":"Tim Garthwaite","email":"tim@mividstudios.com"}],"author":{"name":"Paul Grove","email":"paul.a.grove@gmail.com"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/paulgrove/node-syslog-client#readme","bugs":{"url":"https://github.com/paulgrove/node-syslog-client/issues"},"users":{"paulgrove":true,"craigpatten":true,"wenhsiaoyi":true}}