add slack-specific flourishes to responses

        https://api.slack.com/docs/message-attachments

        Args:
            record (:obj:`logging.record`): message to log

        Returns:
            (:obj:`dict`): attachments object for reporting

def decorate(self, record):
        """add slack-specific flourishes to responses

        https://api.slack.com/docs/message-attachments

        Args:
            record (:obj:`logging.record`): message to log

        Returns:
            (:obj:`dict`): attachments object for reporting

        """
        attachments = {}
        ## Set color
        if record.levelno >= logging.ERROR:
            attachments['color'] = 'warning' #builtin
        if record.levelno >= logging.CRITICAL:
            attachments['color'] = 'danger' #builtin

        ## Log text
        attach_text = '{levelname}: {name} {module}.{funcName}:{lineno}'.format(
            levelname=record.levelname,
            name=record.name,
            module=record.module,
            funcName=record.funcName,
            lineno=record.lineno
        )
        attachments['text'] = attach_text
        attachments['fallback'] = attach_text
        return attachments