alixander / PyScribe

DEPCRECATED/UNMAINTAINED - A Python library to make debugging with print statements simpler and more effective.
MIT License
375 stars 22 forks source link

Make it pluggable with the logging module #1

Open sametmax opened 9 years ago

sametmax commented 9 years ago

PyScibe should accept a logger instance so that if you log, it will write to it too. This way, you can use it with software only printing on the console using the logging module.

ludovic-gasc commented 9 years ago

To be honest, I don't see the interest of this project if you plug with logging module.

What's the advantage of pyscribe compare to logger.debug() + correct logging configuration ? To be more complicated than logging module ? ;-)

sametmax commented 9 years ago

This is actually much simpler than the logging module :

But it doesn't have to be "this" or "that", you can get both, if you Pyscribe starts providing it's bit to be plugged into the logging module.

Le 02/01/2015 06:44, Ludovic Gasc a écrit :

To be honest, I don't see the interest of this project if you plug with logging module.

What's the advantage of pyscribe compare to logger.debug() + correct logging configuration ? To be more complicated than logging module ? ;-)

— Reply to this email directly or view it on GitHub https://github.com/alixander/PyScribe/issues/1#issuecomment-68502567.