def METHOD_NAME(self, test, err):
    unittest.result.TestResult.METHOD_NAME(self, test, err)
    error = "[ERROR]"
    if self.showAll:
        self.stream.writeln(error)
    elif self.dots:
        self.stream.write('E')
        self.stream.flush()
    self.log.error("%-85s %s" % (test, error))
    self.log.exception(err[1])