<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def error(self, text):
 		""" Ajout d'un message de log de type ERROR """

		self.logger.error("{}{}".format(self.message_prefix, text))