{"_id":"cinovo-logger-lib","_rev":"25-1ed0800efc75d5fff6b04308764d19e0","name":"cinovo-logger-lib","description":"Libraries for cinovo-logger and it's endpoints.","dist-tags":{"latest":"0.4.5"},"versions":{"0.2.0":{"name":"cinovo-logger-lib","version":"0.2.0","description":"Libraries for cinovo-logger and it's endpoints.","keywords":["lib"],"author":{"name":"Michael Wittig","email":"michael.wittig@cinovo.de"},"contributors":[],"repository":{"type":"git","url":"https://github.com/cinovo/node-logger-lib.git"},"dependencies":{},"devDependencies":{"mocha":"1.11.0","assert-plus":"0.1.3"},"main":"index","engines":{"node":">= 0.6.0"},"scripts":{"test":"mocha test/*"},"bugs":{"url":"https://github.com/cinovo/node-logger-lib/issues"},"_id":"cinovo-logger-lib@0.2.0","dist":{"shasum":"c5cf45de7a9daa56058785c2bc3063090cc55f7e","tarball":"https://registry.npmjs.org/cinovo-logger-lib/-/cinovo-logger-lib-0.2.0.tgz","integrity":"sha512-BUOIL57/GkLYllQVKDf0Q0vIq2RFUWxH5dnqCusdVIoaEEds6EXETI+4uMsWLwRn839UOwCDXaSOb2J8fHA8aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDACLfnQpNwZX5xMuNcuLl2HL+RJNUYgKpkZVeVi2CGdAiBsnxk9J0EuxF7oScQjo3WrMf/WKWH26+oJm9kAj3iXCA=="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"cinovo","email":"michael.wittig@cinovo.de"},"maintainers":[{"name":"cinovo","email":"michael.wittig@cinovo.de"}]},"0.2.1":{"name":"cinovo-logger-lib","version":"0.2.1","description":"Libraries for cinovo-logger and it's endpoints.","keywords":["lib"],"author":{"name":"Michael Wittig","email":"michael.wittig@cinovo.de"},"contributors":[],"repository":{"type":"git","url":"https://github.com/cinovo/node-logger-lib.git"},"dependencies":{},"devDependencies":{"mocha":"1.11.0","assert-plus":"0.1.3"},"main":"index","engines":{"node":">= 0.6.0"},"scripts":{"test":"mocha test/*"},"bugs":{"url":"https://github.com/cinovo/node-logger-lib/issues"},"_id":"cinovo-logger-lib@0.2.1","dist":{"shasum":"c285579dd1653305c607f8dfbe4e2125a5b76ce6","tarball":"https://registry.npmjs.org/cinovo-logger-lib/-/cinovo-logger-lib-0.2.1.tgz","integrity":"sha512-JXU+n1r2oE6v+bSLEF7nrTeJfqmxMgEJ0uMtm9Yuzis6UKquHk3x75ONKU5LzzNJ8BuSV1aLEvq1WpT/KN6o2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9sGOycM6eBSGrEFfgf1Q9p5cNInibOZq2nnDorYCWVgIhALWGhfH9Jn8g7m5Xb7FkjpPozWTRvhG7fZuUEmGIGqet"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"cinovo","email":"michael.wittig@cinovo.de"},"maintainers":[{"name":"cinovo","email":"michael.wittig@cinovo.de"}]},"0.3.0":{"name":"cinovo-logger-lib","version":"0.3.0","description":"Libraries for cinovo-logger and it's endpoints.","keywords":["lib"],"author":{"name":"Michael Wittig","email":"michael.wittig@cinovo.de"},"contributors":[],"repository":{"type":"git","url":"https://github.com/cinovo/node-logger-lib.git"},"dependencies":{},"devDependencies":{"mocha":"1.11.0","assert-plus":"0.1.3"},"main":"index","engines":{"node":">= 0.6.0"},"scripts":{"test":"mocha test/*"},"bugs":{"url":"https://github.com/cinovo/node-logger-lib/issues"},"_id":"cinovo-logger-lib@0.3.0","dist":{"shasum":"a87393cd234f98ad1601eeea0de98f7ffd3e09f0","tarball":"https://registry.npmjs.org/cinovo-logger-lib/-/cinovo-logger-lib-0.3.0.tgz","integrity":"sha512-U3EJEEVRGNnkeSGSi4fKwDWqJc7JTnNKJU911rfeGhXqXtuSjrwiHGDdQG4X6K7Fqyb2RN3BV10YVnqNaoUSEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYqqwEvTgDCN+88DdrYhSSQSp9OqkihCFe6EOwAVG5zQIgIB/UBMmKy709JOLrdqTdhADiNkKPuUlH7yph+NuWlT4="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"cinovo","email":"michael.wittig@cinovo.de"},"maintainers":[{"name":"cinovo","email":"michael.wittig@cinovo.de"}]},"0.3.1":{"name":"cinovo-logger-lib","version":"0.3.1","description":"Libraries for cinovo-logger and it's endpoints.","keywords":["lib"],"author":{"name":"Michael Wittig","email":"michael.wittig@cinovo.de"},"contributors":[],"licenses":[{"type":"Apache License, Version 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"https://github.com/cinovo/node-logger-lib.git"},"dependencies":{},"devDependencies":{"mocha":"1.11.0","assert-plus":"0.1.3"},"main":"index","engines":{"node":">= 0.6.0"},"scripts":{"test":"mocha test/*"},"bugs":{"url":"https://github.com/cinovo/node-logger-lib/issues"},"_id":"cinovo-logger-lib@0.3.1","dist":{"shasum":"8e1c9a7b1c4daf56e90a568bb194bd8657990112","tarball":"https://registry.npmjs.org/cinovo-logger-lib/-/cinovo-logger-lib-0.3.1.tgz","integrity":"sha512-+BUn4UFNlYam5FZRjeZIpbB9LrbLH/Rh94vZlPM17VftCMDpoajFJY0tBYPAxwzJJM0XgsTZA1/vfa2Qd1I5gg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF1g/DwMOC50mEL4bsDWa/rU4ucW8a6XRH12m5mZu+fhAiEA2qA0rghKYmfure/7SlIYY6Ii+6r/98uuG/svUvoXMk8="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"cinovo","email":"michael.wittig@cinovo.de"},"maintainers":[{"name":"cinovo","email":"michael.wittig@cinovo.de"}]},"0.4.0":{"name":"cinovo-logger-lib","version":"0.4.0","description":"Libraries for cinovo-logger and it's endpoints.","keywords":["lib"],"author":{"name":"Michael Wittig","email":"michael.wittig@cinovo.de"},"contributors":[],"licenses":[{"type":"Apache License, Version 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"https://github.com/cinovo/node-logger-lib.git"},"dependencies":{"assert-plus":"0.1.3"},"devDependencies":{"mocha":"1.11.0"},"main":"index","engines":{"node":">= 0.6.0"},"scripts":{"test":"mocha test/*"},"bugs":{"url":"https://github.com/cinovo/node-logger-lib/issues"},"_id":"cinovo-logger-lib@0.4.0","dist":{"shasum":"292d61433e98f55e8ddf9733adbcbf08250024a5","tarball":"https://registry.npmjs.org/cinovo-logger-lib/-/cinovo-logger-lib-0.4.0.tgz","integrity":"sha512-4TsnonRRluKC6cvMFq/VWY08sNaHe3scxcCqYqrwL1LRTgeXri70MQVKzElTurhCJOxYL8Yl6Ace01Kqs7GxDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRS4yzHPcceIHCL4UBTC3VYre8UG8FG6mA4XPo4vPJ+AIgM7VnC8dqCyEFoU4xr9WjtcYuPLQKg5u9JPiGaul/JHo="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"cinovo","email":"michael.wittig@cinovo.de"},"maintainers":[{"name":"cinovo","email":"michael.wittig@cinovo.de"}]},"0.4.1":{"name":"cinovo-logger-lib","version":"0.4.1","description":"Libraries for cinovo-logger and it's endpoints.","keywords":["lib"],"author":{"name":"Michael Wittig","email":"michael.wittig@cinovo.de"},"contributors":[],"licenses":[{"type":"Apache License, Version 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"https://github.com/cinovo/node-logger-lib.git"},"dependencies":{"assert-plus":"0.1.3"},"devDependencies":{"mocha":"1.11.0"},"main":"index","engines":{"node":">= 0.6.0"},"scripts":{"test":"mocha test/*"},"bugs":{"url":"https://github.com/cinovo/node-logger-lib/issues"},"_id":"cinovo-logger-lib@0.4.1","dist":{"shasum":"9b864d2a9198bab005c95e12f1b39584c06eddf9","tarball":"https://registry.npmjs.org/cinovo-logger-lib/-/cinovo-logger-lib-0.4.1.tgz","integrity":"sha512-bEt+7mWfnEX5VTPSb922juLzXL8s1AdAWdBfwaN/pQIbuqhp+d713Q5S82SLlWGhpMU0UK8tYEmUnPCG7rz4fw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtREo3/jUDvUbyTNjemZvTCMXX/a7Yw8yAR2pF4xyI4QIhAIT0pysv2y16Ev+6LAUJh/wxBI8ilHcf52oI1xbYweAx"}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"cinovo","email":"michael.wittig@cinovo.de"},"maintainers":[{"name":"cinovo","email":"michael.wittig@cinovo.de"}]},"0.4.2":{"name":"cinovo-logger-lib","version":"0.4.2","description":"Libraries for cinovo-logger and it's endpoints.","keywords":["lib"],"author":{"name":"Michael Wittig","email":"michael.wittig@cinovo.de"},"contributors":[],"licenses":[{"type":"Apache License, Version 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"https://github.com/cinovo/node-logger-lib.git"},"dependencies":{"assert-plus":"0.1.4"},"devDependencies":{"mocha":"1.12.0","jslint":"0.1.9","madge":"0.1.4","npmedge":"0.1.3"},"main":"index","engines":{"node":">= 0.6.0"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/cinovo/node-logger-lib/issues"},"_id":"cinovo-logger-lib@0.4.2","dist":{"shasum":"1be74b7b038f801bd5c2132e86cf9be6f6d8247f","tarball":"https://registry.npmjs.org/cinovo-logger-lib/-/cinovo-logger-lib-0.4.2.tgz","integrity":"sha512-DRt78Fvt8/kF5IgbLtqo65xoqqP2i3TCShf+3aGyHO+j+8CE1Or25LliXZNm2e5SZNOHxHLyU00GIPvDeIpX2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICl8AArUAHKmkvQMTRGa+Ny9gTc7+6D+rJllc0cs9zdsAiBfEbZp7v237dO+xUllwfO/Im3kk3KNxp2OtHBI5rUmQA=="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"cinovo","email":"michael.wittig@cinovo.de"},"maintainers":[{"name":"cinovo","email":"michael.wittig@cinovo.de"}]},"0.4.3":{"name":"cinovo-logger-lib","version":"0.4.3","description":"Libraries for cinovo-logger and it's endpoints.","keywords":["lib"],"author":{"name":"Michael Wittig","email":"michael.wittig@cinovo.de"},"contributors":[],"licenses":[{"type":"Apache License, Version 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"https://github.com/cinovo/node-logger-lib.git"},"dependencies":{"assert-plus":"0.1.4"},"devDependencies":{"mocha":"1.13.0","jslint":"0.2.0","madge":"0.1.7","npmedge":"0.1.4"},"main":"index","engines":{"node":">= 0.6.0"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/cinovo/node-logger-lib/issues"},"_id":"cinovo-logger-lib@0.4.3","dist":{"shasum":"9bbc843e3135c5eea4061fce5ddc49c4aedf65e4","tarball":"https://registry.npmjs.org/cinovo-logger-lib/-/cinovo-logger-lib-0.4.3.tgz","integrity":"sha512-A6pbuI1nliKsUqGMssELmq6eDy3Qo/u2PyvB2X/z8VyDaSfxrQwRR0i/NykRJQgjVArMvhi8e1lYqrMzx51uXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBJBPaetWeUHYpnvGBftVULf+NowHh0xpvR+Hna0MwsOAiA579PKIIqnNfMbnnx5uJJ/qFIdNhxqJZ/8FDPLLxE8aA=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"cinovo","email":"michael.wittig@cinovo.de"},"maintainers":[{"name":"cinovo","email":"michael.wittig@cinovo.de"}]},"0.4.4":{"name":"cinovo-logger-lib","version":"0.4.4","description":"Libraries for cinovo-logger and it's endpoints.","keywords":["lib"],"author":{"name":"Michael Wittig","email":"michael.wittig@cinovo.de"},"contributors":[],"licenses":[{"type":"Apache License, Version 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"https://github.com/cinovo/node-logger-lib.git"},"dependencies":{"assert-plus":"0.1.5"},"devDependencies":{"mocha":"1.15.1","jslint":"0.2.5","madge":"0.1.7","npmedge":"0.1.4"},"main":"index","engines":{"node":">= 0.6.0"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/cinovo/node-logger-lib/issues"},"homepage":"https://github.com/cinovo/node-logger-lib","_id":"cinovo-logger-lib@0.4.4","dist":{"shasum":"b09e0f5c12da9b40ef5165e821b924321b2979bd","tarball":"https://registry.npmjs.org/cinovo-logger-lib/-/cinovo-logger-lib-0.4.4.tgz","integrity":"sha512-LzRDeJ8U454V9v5hSTFyB09QFErwPK3hDZff1s0hqNUtI8vIs7z5Uu5o4t9iHpyqsY3RnjXX0nOLz5qYR35J1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvH0AvB2gh75C4eVZbymjem7ADWXuyuNKPXf2TsaMN5AiAlebmwFKVGGVzb8J/kZuEUWSO5fDRLOtG1yVwLe0YnWA=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"cinovo","email":"michael.wittig@cinovo.de"},"maintainers":[{"name":"cinovo","email":"michael.wittig@cinovo.de"}]},"0.4.5":{"name":"cinovo-logger-lib","version":"0.4.5","description":"Libraries for cinovo-logger and it's endpoints.","keywords":["lib"],"author":{"name":"Michael Wittig","email":"michael.wittig@cinovo.de"},"contributors":[],"licenses":[{"type":"Apache License, Version 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"repository":{"type":"git","url":"https://github.com/cinovo/node-logger-lib.git"},"dependencies":{"assert-plus":"0.1.5"},"devDependencies":{"mocha":"1.18.2","jslint":"0.3.3","madge":"0.2.0","npmedge":"0.1.5"},"main":"index","engines":{"node":">= 0.6.0"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/cinovo/node-logger-lib/issues"},"homepage":"https://github.com/cinovo/node-logger-lib","_id":"cinovo-logger-lib@0.4.5","dist":{"shasum":"868b7bfe4d67bcde1fb15c51a32342525c8a1635","tarball":"https://registry.npmjs.org/cinovo-logger-lib/-/cinovo-logger-lib-0.4.5.tgz","integrity":"sha512-k5KW9aqYDLlyngGVpPHU/KUiWC+SImOJEhL/bJiJ+kCOydwi5TzZcibqAIY7zhWbLfxL90mQPoNDaS9OjgTzTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9AmeAXqiUicJQgdKAZ9SuX2ZwuVYimRWlRef9X9CTugIgPqB/Ge+xjRwUANk3jnCclu9xM3TzGyefEWA9gN/K6x8="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cinovo","email":"michael.wittig@cinovo.de"},"maintainers":[{"name":"cinovo","email":"michael.wittig@cinovo.de"}]}},"readme":"`````\n                                                   ___\n       __                                         /\\_ \\\n  ___ /\\_\\    ___     ___   __  __    ___         \\//\\ \\     ___      __      __      __   _ __\n /'___\\/\\ \\ /' _ `\\  / __`\\/\\ \\/\\ \\  / __`\\  _______\\ \\ \\   / __`\\  /'_ `\\  /'_ `\\  /'__`\\/\\`'__\\\n/\\ \\__/\\ \\ \\/\\ \\/\\ \\/\\ \\L\\ \\ \\ \\_/ |/\\ \\L\\ \\/\\______\\\\_\\ \\_/\\ \\L\\ \\/\\ \\L\\ \\/\\ \\L\\ \\/\\  __/\\ \\ \\/\n\\ \\____\\\\ \\_\\ \\_\\ \\_\\ \\____/\\ \\___/ \\ \\____/\\/______//\\____\\ \\____/\\ \\____ \\ \\____ \\ \\____\\\\ \\_\\\n \\/____/ \\/_/\\/_/\\/_/\\/___/  \\/__/   \\/___/          \\/____/\\/___/  \\/___L\\ \\/___L\\ \\/____/ \\/_/\n                                                                      /\\____/ /\\____/\n                                                                      \\_/__/  \\_/__/\n`````\n\n[![Build Status](https://secure.travis-ci.org/cinovo/node-logger-lib.png)](http://travis-ci.org/cinovo/node-logger-lib)\n[![NPM version](https://badge.fury.io/js/cinovo-logger-lib.png)](http://badge.fury.io/js/cinovo-logger-lib)\n[![NPM dependencies](https://david-dm.org/cinovo/node-logger-lib.png)](https://david-dm.org/cinovo/node-logger-lib)\n\n# cinovo-logger-lib\n\nShared code used by all [cinovo-logger](https://github.com/cinovo/node-logger) endpoints.\n\n## Custom Endpoint\n\nYou must extend the require(\"cinovo-logger-lib\").Endpoint.\n\n`````javascript\nvar lib = require(\"cinovo-logger-lib\");\nfunction CustomEndpoint(debug, info, error, critical) {\n\tlib.Endpoint.call(this, debug, info, error, critical, \"customName\");\n}\nutil.inherits(CustomEndpoint, lib.Endpoint);\n`````\n\nAnd you must implement at least this two methods:\n\n`````javascript\nCustomEndpoint.prototype._log = function(log, callback) {\n\t// write the log object and call the callback if the log is written\n\tcallback();\n};\nCustomEndpoint.prototype._stop = function(callback) {\n\t// stop the endpoint, call the callback if finished and all logs are written\n\tcallback();\n};\n`````\n\n### API\n\n#### stop(callback)\n\nStop endpoint to avoid data loss.\n\n* `callback`: Function(err)\n    * `err`: Error\n\n#### log(log, callback)\n\n* `log`: Log https://github.com/cinovo/node-logger#log\n* `callback`: Function(err)\n    * `err`: Error\n\n### Events\n\n#### stop()\n\nEndpoint was stopped.\n\n#### stopping()\n\nEndpoint is stopping.\n","maintainers":[{"name":"hellomichibye","email":"post@michaelwittig.info"}],"time":{"modified":"2022-06-13T06:02:39.894Z","created":"2013-06-20T06:51:39.408Z","0.2.0":"2013-06-20T06:51:42.096Z","0.2.1":"2013-06-20T06:55:26.712Z","0.3.0":"2013-06-21T10:36:41.562Z","0.3.1":"2013-06-25T19:31:07.474Z","0.4.0":"2013-07-08T06:34:05.302Z","0.4.1":"2013-07-08T07:16:35.161Z","0.4.2":"2013-07-12T06:32:21.485Z","0.4.3":"2013-10-21T06:28:26.926Z","0.4.4":"2013-12-06T09:58:27.381Z","0.4.5":"2014-04-24T14:10:34.148Z"},"author":{"name":"Michael Wittig","email":"michael.wittig@cinovo.de"},"repository":{"type":"git","url":"https://github.com/cinovo/node-logger-lib.git"},"homepage":"https://github.com/cinovo/node-logger-lib","keywords":["lib"],"contributors":[],"bugs":{"url":"https://github.com/cinovo/node-logger-lib/issues"},"readmeFilename":"README.md"}