def log_error(**kwargs):
 Message.log(message_type=_compute_message_type(stack()[1]), level=_ERROR_TOKEN, **kwargs)

def log_error ( ** kwargs ) : Message . log ( message_type = _compute_message_type ( stack ( ) [ 1 ] ) , level = _ERROR_TOKEN , ** kwargs )
log error to error log .