def log_error(error, result):
    """Logs an error
    """
    p = {'error': error, 'result':result}
    _log(TYPE_CODES.ERROR, p)
def log_error(error, result):
    
    p = {'error': error, 'result':result}
    _log(TYPE_CODES.ERROR, p)
def log_error ( error , result ) : p = { 'error' : error , 'result' : result } _log ( TYPE_CODES . ERROR , p )
Logs an error
Logs an error