etho.services.utils.log_exceptions#

etho.services.utils.log_exceptions.for_all_methods(decorator)[source]#

“Decorates all methods of a class with ‘decorator’.

etho.services.utils.log_exceptions.log_exceptions(logger=None)[source]#

A decorator that wraps the passed in function and logs exceptions should one occur

@param logger (optional): The logging object