docs: def decorate(self, record):
          """Build up HipChat specific values for log record
  
          Args:
              record (:obj:`logging.record`): log message object
  
          Returns:
              dict: params for POST request
  
          """
          color = 'gray'
          if record.levelno == logging.WARNING:
              color = 'yellow'
          if record.levelno == logging.INFO:
              color = 'green'
          if record.levelno == logging.DEBUG:
              color = 'gray'
          if record.levelno >= logging.ERROR:
              color = 'red'
  
          notify = False
          if record.levelno >= logging.ERROR:
              nofiy = True
  
          payload = {
              'color': color,
              'notify': notify,
              'message_format': 'text'
          }
  
          return payload