<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, msg, *args, **kwargs):
 """ Log a message with ERROR level. Automatically includes stack and process info unless they are specifically not included. """

        kwargs.setdefault('inc_stackinfo', True)
        kwargs.setdefault('inc_multiproc', True)
        self.log(ERROR, msg, args, **kwargs)