def message(topic, message)
      msg = formatted_topic(topic) + message.to_s.gsub(%r!\s+!, " ")
      messages << msg
      msg
    end
def message(topic, message)
      msg = formatted_topic(topic) + message.to_s.gsub(%r!\s+!, " ")
      messages << msg
      msg
    end
Internal: Build a topic method

 topic - the topic of the message, e.g. "Configuration file", "Deprecation", etc.
 message - the message detail

 Returns the formatted message