<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def log_exception(fn_name, exception, retry_count, **kwargs):
 """ External exception logging hook. """

    _log_exception_hook(fn_name, exception, retry_count, **kwargs)