carlos8f / haredis

High-availability redis in Node.js.
https://npmjs.org/package/haredis
154 stars 21 forks source link

Would be much nicer if we could pass in our own logger #19

Open nickminutello opened 11 years ago

nickminutello commented 11 years ago

The haredis logging is good - but the problem I face is that its disconnected from the rest of our logging. I use log4js ... but should be able to pass in any logger that implements debug, info, warn, error, etc

carlos8f commented 11 years ago

good idea, i wanted to do this but never got around to it. i'll accept a pull request or implement it as time permits.

nickminutello commented 11 years ago

Cool. I will have a stab if I get some free time