def log_exception(fn_name, exception, retry_count, **kwargs):
    """
    External exception logging hook.
    """
    _log_exception_hook(fn_name, exception, retry_count, **kwargs)
def log_exception ( fn_name , exception , retry_count , ** kwargs ) : _log_exception_hook ( fn_name , exception , retry_count , ** kwargs )
External exception logging hook.