{"_id":"cc-debug","_rev":"25-fc8828dbbcc8081afd3cb2699f5a962f","name":"cc-debug","description":"replace tj's debug,log to log.io","dist-tags":{"latest":"0.0.11"},"versions":{"0.0.1":{"name":"cc-debug","version":"0.0.1","description":"replace tj's debug,log to log.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/CreditCloud/cc-debug"},"keywords":["cc","debug"],"author":{"name":"CreditCloud"},"license":"ISC","bugs":{"url":"https://github.com/CreditCloud/cc-debug/issues"},"homepage":"https://github.com/CreditCloud/cc-debug","dependencies":{"debug":"^2.1.0","lodash":"^2.4.1","winston-logio":"^0.2.0"},"peerDependencies":{"config":"1.8.x","winston":"0.8.x"},"gitHead":"d7673d80a77239710f274ecb152466f5620c239c","_id":"cc-debug@0.0.1","_shasum":"11d71b2b8bdafd5a966aec35b9a2bc873fdfd724","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"magicdawn","email":"784876393@qq.com"},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"dist":{"shasum":"11d71b2b8bdafd5a966aec35b9a2bc873fdfd724","tarball":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.1.tgz","integrity":"sha512-/6CwbyIp6oK+yl6hUPt/4Fc5hi5cbdAGQFUEuPfTr0XI/aZO0ouqLCueqOCKl7rfFcmjnGZpZ5pvr3HhDCpNVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHZ1yTKCBKVN0hv4O8FEwbjioOrYlRZ/pnqJtX/MnTcAIhAIe9slYm/RTHqYbtjeT+BjfaX0360zUdsHTQDwMIFlDz"}]}},"0.0.2":{"name":"cc-debug","version":"0.0.2","description":"replace tj's debug,log to log.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/CreditCloud/cc-debug"},"keywords":["cc","debug"],"author":{"name":"CreditCloud"},"license":"ISC","bugs":{"url":"https://github.com/CreditCloud/cc-debug/issues"},"homepage":"https://github.com/CreditCloud/cc-debug","dependencies":{"debug":"^2.1.0","lodash":"^2.4.1","mkdirp":"^0.5.0","winston-logio":"^0.2.0"},"peerDependencies":{"config":"1.8.x","winston":"0.8.x"},"gitHead":"7ddf5e3a29111784ca7b87b7818131d0dc4cb52f","_id":"cc-debug@0.0.2","_shasum":"6d18790b58f7e906d56f6b03ace94b432a44537f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"magicdawn","email":"784876393@qq.com"},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"dist":{"shasum":"6d18790b58f7e906d56f6b03ace94b432a44537f","tarball":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.2.tgz","integrity":"sha512-vZftFfLvu1gnG3JBppbexxlsRBo8DKfpsqC4SCnCskhlNR5TXFsSUfMYzDw+nCwimz1RKdxc9GHeZCg4nN1cUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJRhi5wH7YdTgvhGweh7bbZkdDGNAGLWMX1vbmGfP61AiEAyqCuOLBfTTZgKN2ruQfBZeARgMtMMVTzBx/20PK1ImM="}]}},"0.0.3":{"name":"cc-debug","version":"0.0.3","description":"replace tj's debug,log to log.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/CreditCloud/cc-debug"},"keywords":["cc","debug"],"author":{"name":"CreditCloud"},"license":"ISC","bugs":{"url":"https://github.com/CreditCloud/cc-debug/issues"},"homepage":"https://github.com/CreditCloud/cc-debug","dependencies":{"debug":"^2.1.0","lodash":"^2.4.1","mkdirp":"^0.5.0","winston-logio":"^0.2.0"},"peerDependencies":{"config":"1.8.x","winston":"0.8.x"},"gitHead":"5fb29f53ed1463319d50a84584dc31fee25a512f","_id":"cc-debug@0.0.3","_shasum":"b712529640c90fa21af3ca0c4ace5ca7282a2e36","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"magicdawn","email":"784876393@qq.com"},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"dist":{"shasum":"b712529640c90fa21af3ca0c4ace5ca7282a2e36","tarball":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.3.tgz","integrity":"sha512-fVTe9XTuAIF5yp6g7/L3gh07dGSyiQ9y2YvdWNaeXOqYUy4GXHZKdHjzY7n1qqxy01CXBSdc/3bf8HUvN3NNpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7nyAjvNwC8NGu7lGrMo90PkSMCbangjcA336q+3KPqQIgSgd3v3sejbXN5rn9lp4DSrYsJny8g3wYO+AbQtsomk4="}]}},"0.0.4":{"name":"cc-debug","version":"0.0.4","description":"replace tj's debug,log to log.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/CreditCloud/cc-debug"},"keywords":["cc","debug"],"author":{"name":"CreditCloud"},"license":"ISC","bugs":{"url":"https://github.com/CreditCloud/cc-debug/issues"},"homepage":"https://github.com/CreditCloud/cc-debug","dependencies":{"lodash":"^2.4.1","mkdirp":"^0.5.0","winston-logio":"^0.2.0"},"peerDependencies":{"config":"1.8.x","winston":"0.8.x"},"gitHead":"f9fd8a300e2b07017fb3de9d569db7be23539f08","_id":"cc-debug@0.0.4","_shasum":"ae2eedf3e760ad5ef2579b9104bbaf52f47abe50","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"magicdawn","email":"784876393@qq.com"},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"dist":{"shasum":"ae2eedf3e760ad5ef2579b9104bbaf52f47abe50","tarball":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.4.tgz","integrity":"sha512-gDNvQ8uvZfAe5zEKLsBhMORzC7g7ooLEz9n2AoMAYAzJkMNOQExwbikh4zwKmQhyrdJio+zxHAUY8XnA+xYHkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyvDQ7ZR/oqqQjOYBAsXGYsBf3Fd5/fyufZhexs2IJ0AIgG3Zc5SX/sQZEPNMPiVr22hRkjL0xEq9RI5/arCaRe0Y="}]}},"0.0.5":{"name":"cc-debug","version":"0.0.5","description":"replace tj's debug,log to log.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/CreditCloud/cc-debug"},"keywords":["cc","debug"],"author":{"name":"CreditCloud"},"license":"ISC","bugs":{"url":"https://github.com/CreditCloud/cc-debug/issues"},"homepage":"https://github.com/CreditCloud/cc-debug","dependencies":{"config":"1.8.x","lodash":"^2.4.1","mkdirp":"^0.5.0","winston-logio":"^0.2.0"},"peerDependencies":{"winston":"0.8.x"},"gitHead":"542f6365a7f8d814928fcac42ba870e97c50974d","_id":"cc-debug@0.0.5","_shasum":"60bf5f8b6bf9a175898328734dccb071eb7b9056","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"magicdawn","email":"784876393@qq.com"},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"dist":{"shasum":"60bf5f8b6bf9a175898328734dccb071eb7b9056","tarball":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.5.tgz","integrity":"sha512-HG7zd5GLQI22Zqq54RzkQKWbeqpGAu5WmOQWkVIvgmJF99A+Y4Mc104+K275OSP8/THMIQAN6jRvS5r72zoOEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGdDAVydUHl9NyrDiu0yDWe9FTMnbFIkYlk2EbCodK+wIgPEUKYTNDNfXGaOt0ra5lcQYa+eplGoj7bkoQ91zfoi0="}]}},"0.0.6":{"name":"cc-debug","version":"0.0.6","description":"replace tj's debug,log to log.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/CreditCloud/cc-debug"},"keywords":["cc","debug"],"author":{"name":"CreditCloud"},"license":"ISC","bugs":{"url":"https://github.com/CreditCloud/cc-debug/issues"},"homepage":"https://github.com/CreditCloud/cc-debug","dependencies":{"mkdirp":"^0.5.0","winston-logio":"^0.2.0"},"peerDependencies":{"config":"1.8.x","winston":"0.8.x"},"gitHead":"542f6365a7f8d814928fcac42ba870e97c50974d","_id":"cc-debug@0.0.6","_shasum":"366f06a80c038e6e68ad99e30bff421de7b4de16","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"magicdawn","email":"784876393@qq.com"},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"dist":{"shasum":"366f06a80c038e6e68ad99e30bff421de7b4de16","tarball":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.6.tgz","integrity":"sha512-qLlA5t4AYoTbzcUqZfIZbRmXlOP0MdXlhhcxZD4xEPbg3+M9FxPDGJVmu8sdGN/dDtU+hRS7AZ4cYA43B3Nexg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHnexNWK4diJjnyDNq9JWRKrf5DpLsMsVGeDVXR4at1QAiEAi7gRBDCXPWAyXxvQr/2972PnNZDa3riCOHsicyLcKsA="}]}},"0.0.7":{"name":"cc-debug","version":"0.0.7","description":"replace tj's debug,log to log.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/CreditCloud/cc-debug"},"keywords":["cc","debug"],"author":{"name":"CreditCloud"},"license":"ISC","bugs":{"url":"https://github.com/CreditCloud/cc-debug/issues"},"homepage":"https://github.com/CreditCloud/cc-debug","dependencies":{"mkdirp":"^0.5.0","winston-logio":"^0.2.0"},"peerDependencies":{"config":"^1.9.0","winston":"^0.8.3"},"gitHead":"877da31afbbfddd03069cd1990417d08897e7066","_id":"cc-debug@0.0.7","_shasum":"e02e0a28d730890b5c9b324377e0eff10d12b0d4","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"magicdawn","email":"784876393@qq.com"},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"dist":{"shasum":"e02e0a28d730890b5c9b324377e0eff10d12b0d4","tarball":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.7.tgz","integrity":"sha512-m/JJiuOksgwGAStdcZiplXjykS5BYR6ff4B152BO+cBi+Wd2/z8FowZCD07pRWRCUOlxbat35lUaVk8e2X5dag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDYDMQFUqoF0DdF/50cNVGrFNTjIeVv9hrz0h6tVtj7rAiBPtXSIOnsDC1guAAKDD29PhWgqOnLFsHl0S3nvJh1q+Q=="}]}},"0.0.8":{"name":"cc-debug","version":"0.0.8","description":"replace tj's debug,log to log.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/CreditCloud/cc-debug"},"keywords":["cc","debug"],"author":{"name":"CreditCloud"},"license":"ISC","bugs":{"url":"https://github.com/CreditCloud/cc-debug/issues"},"homepage":"https://github.com/CreditCloud/cc-debug","dependencies":{"mkdirp":"^0.5.0","winston-logio":"^0.2.0"},"peerDependencies":{"config":"^1.9.0","winston":"^0.8.3"},"gitHead":"877da31afbbfddd03069cd1990417d08897e7066","_id":"cc-debug@0.0.8","_shasum":"9038bd4bfa5c49f47387603b5e18998e55338e20","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"magicdawn","email":"784876393@qq.com"},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"dist":{"shasum":"9038bd4bfa5c49f47387603b5e18998e55338e20","tarball":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.8.tgz","integrity":"sha512-g+oxzZVCNvyjppWEBSQ3GQLKQcoX33q2BJp5uy/3akuQISVko2eOm2zrqAxOhSUG61e4aMxM+5MIKYXmP/pvqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbVRMjKNAt9nebYli+L28Xt3jrr1D/IsuIlsXNDlJsrAiArvV0VciGf2Kf1W3/YkMYayzabc/4D/PEPk1PqFYZ9Hw=="}]}},"0.0.9":{"name":"cc-debug","version":"0.0.9","description":"replace tj's debug,log to log.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/CreditCloud/cc-debug"},"keywords":["cc","debug"],"author":{"name":"CreditCloud"},"license":"ISC","bugs":{"url":"https://github.com/CreditCloud/cc-debug/issues"},"homepage":"https://github.com/CreditCloud/cc-debug","dependencies":{"mkdirp":"^0.5.0","winston-logio":"^0.2.0"},"peerDependencies":{"config":"^1.9.0","winston":"^0.8.3"},"gitHead":"79f13138ca8206896cbe274a2569cbaa8ed2d5a8","_id":"cc-debug@0.0.9","_shasum":"3f6b35550c87f067cdd93c7b84cd3c4bd0e9a089","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"magicdawn","email":"784876393@qq.com"},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"dist":{"shasum":"3f6b35550c87f067cdd93c7b84cd3c4bd0e9a089","tarball":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.9.tgz","integrity":"sha512-6ENZ2liDsw5o943/SktOwCCp3nRzTs4KjE62VxJ96DmH5VthbzM0FEleMuL4pdE+cm0PNfmWwwk8PpEjY2Q88A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELQeXuf0FtVteMvBaREm/GVGq4/wBHFt5fUbSlHxiQuAiEAugOjJxrYz7gBeck4SxsNORhS0qtdRSlqXTEaDNrGf4A="}]}},"0.0.10":{"name":"cc-debug","version":"0.0.10","description":"replace tj's debug,log to log.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/CreditCloud/cc-debug"},"keywords":["cc","debug"],"author":{"name":"CreditCloud"},"license":"ISC","bugs":{"url":"https://github.com/CreditCloud/cc-debug/issues"},"homepage":"https://github.com/CreditCloud/cc-debug","dependencies":{"mkdirp":"^0.5.0","winston-logio":"^0.2.0"},"peerDependencies":{"config":"^1.9.0","winston":"^0.8.3"},"gitHead":"877da31afbbfddd03069cd1990417d08897e7066","_id":"cc-debug@0.0.10","_shasum":"5e61215930e126c0fe56bdce8414c9a84a446bdb","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"magicdawn","email":"784876393@qq.com"},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"dist":{"shasum":"5e61215930e126c0fe56bdce8414c9a84a446bdb","tarball":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.10.tgz","integrity":"sha512-KvtaL+MF5ALCYTqh7jbI3VL0//gAc1nUdzWLLk+pxkJwcaKQgxb3VisnjnlIxXRmTw2rqr0ABo2YFhp4RJOBXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH87YaEN0devTPRGzerB5kd61Z85Qot1pwjNaOvo6Ls0AiEA/r6Yic0c/ZZ08xUYoVyM1wuRXOvaQVPww9iQxOzYi18="}]},"directories":{},"_resolved":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.8.tgz"},"0.0.11":{"name":"cc-debug","version":"0.0.11","description":"replace tj's debug,log to log.io","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/CreditCloud/cc-debug"},"keywords":["cc","debug"],"author":{"name":"CreditCloud"},"license":"ISC","bugs":{"url":"https://github.com/CreditCloud/cc-debug/issues"},"homepage":"https://github.com/CreditCloud/cc-debug","dependencies":{"mkdirp":"^0.5.0","winston-logio":"^0.2.0"},"peerDependencies":{"config":"^1.9.0","winston":"^0.8.3"},"gitHead":"877da31afbbfddd03069cd1990417d08897e7066","_id":"cc-debug@0.0.11","_shasum":"56f5781880a0332c6ecf6f02e9df30ffddc31f96","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"magicdawn","email":"784876393@qq.com"},"maintainers":[{"name":"magicdawn","email":"784876393@qq.com"}],"dist":{"shasum":"56f5781880a0332c6ecf6f02e9df30ffddc31f96","tarball":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.11.tgz","integrity":"sha512-B419KsjFS9USpUrgm3cCSVwVIMYznorO/+c0tmtpjue3yXrkZZOTwVk39o27yNad+nzwUNK/HKqXaKdtT9CsWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/hvfSyU3N5dZKcpOO2f+Z8CoRKqxrmOzeHdc//qLUXAIhAO4gz7BbQQZnSFGxcKeQ0VCdCmPb2hnpVnvIvGLYYGvA"}]},"directories":{},"_resolved":"https://registry.npmjs.org/cc-debug/-/cc-debug-0.0.8.tgz"}},"readme":"cc-debug\n========\n\n替换 tj 的 debug module，向 log.io 输出日志\n\n# 使用\n\n## 1. 其他用debug的第三方库\n\n例如\nvar debug = require('debug')(\"express\")\n这个level定为 `debug`\n\n1.1 File: express.log , 传送最低level为warn\n\n1.2 Log.io , node名称全局配置,生存一个叫 express 的stream,传送最低level为 debug\n\n1.3 debug 不走console了\n\n\n\n## 2. console 消息\n\n我把 winston 这个默认的logger绑定到console上面,可以使用 console.warn,console.debug ...\n\n    console.log\n\n    1. 输出到控制台\n\n    2. 输出到winston,level为debug\n\n        1. 文件 console.log\n\n        2. log.io stream name : console_msg\n\n\n\n## 3. 自己用\n### 3.1 同第三方库那样,我们自己的namespace\n\n### 3.2 console.xxx\n\n\n-----------\n\n# config\n\n参照demo/config/default.js 配置\n\n----------------\n\nwinston 默认 levels \n{ silly: 0, debug: 1, verbose: 2, info: 3, warn: 4, error: 5 }","maintainers":[{"name":"magicdawn","email":"784876393@qq.com"},{"name":"undozen","email":"opensource@undozen.com"}],"time":{"modified":"2022-06-13T05:43:33.035Z","created":"2014-12-09T10:57:28.817Z","0.0.1":"2014-12-09T10:57:28.817Z","0.0.2":"2014-12-10T03:04:11.374Z","0.0.3":"2014-12-10T05:36:14.241Z","0.0.4":"2014-12-10T06:03:33.117Z","0.0.5":"2014-12-10T07:54:08.427Z","0.0.6":"2014-12-10T11:28:34.327Z","0.0.7":"2014-12-11T02:45:39.453Z","0.0.8":"2014-12-11T03:18:33.832Z","0.0.9":"2014-12-11T08:51:44.644Z","0.0.10":"2014-12-11T08:57:01.262Z","0.0.11":"2014-12-11T09:29:26.063Z"},"homepage":"https://github.com/CreditCloud/cc-debug","keywords":["cc","debug"],"repository":{"type":"git","url":"https://github.com/CreditCloud/cc-debug"},"author":{"name":"CreditCloud"},"bugs":{"url":"https://github.com/CreditCloud/cc-debug/issues"},"license":"ISC","readmeFilename":"README.md"}