<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_cloud_error(client, message, **kwargs):
    '''
    Log an azurearm cloud error exception
    '''
    try:
        cloud_logger = getattr(log, kwargs.get('azurearm_log_level'))
    except (AttributeError, TypeError):
        cloud_logger = getattr(log, 'error')

    cloud_logger(
         'An AzureARM %s CloudError has occurred: %s',
         client.capitalize(),
         message
    )

    return