'Log to the provided `logger` a human-readable message as an
error and a verbose traceback as a debug message.'

def log(self, logger):

    if self.tb:
        logger.debug(self.tb)
    logger.error(u'{0}:    {1}', self.error_kind, self.args[0])
