itsapi / pycraft

A Minecraft-inspired game for the terminal
GNU General Public License v2.0
197 stars 21 forks source link

Better Debugging! #60

Open olls opened 9 years ago

olls commented 9 years ago

Enable/disable for different modules, different indentation levels, etc...!

olls commented 8 years ago

Maybe to replace/add to the logging levels, we should also be able to enable/disable logging on a module basis.

geraintwhite commented 8 years ago

Like creating logger instances for each file?

On Thu, 14 Jan 2016 16:16 Oliver Faircliff notifications@github.com wrote:

Maybe to replace/add to the logging levels, we should also be able to enable/disable logging on a module basis.

— Reply to this email directly or view it on GitHub https://github.com/itsapi/pycraft/issues/60#issuecomment-171687041.

olls commented 8 years ago

Maybe, or detecting the file in the logging function

olls commented 8 years ago

https://docs.python.org/3.4/library/logging.html