Debugging your source code or application is a very important aspect. Python comes with a logging module, which is pretty much similar to log4j. I wrote a method in Python that lets you customize some aspects of the logger, for example where to output your logging information.

def createLogger(file=None, logger_name=None, format=False, log_to_console=False, get_hdlr=False):
[...]

Tags: , , , , , , , , , ,