add_handling_uncaught_expections#

Logger.add_handling_uncaught_expections(logger)#

This just redirect the output of an exception to the logger.