'Log \'msg % args\' with severity \'ERROR\'.
To pass exception information, use the keyword argument exc_info with
a true value, e.g.
logger.error("Houston, we have a %s", "major problem", exc_info=1)'

def error(self, msg, *args, **kwargs):

    if self.isEnabledFor(ERROR):
        self._log(ERROR, msg, args, **kwargs)
