class Jekyll::LogAdapter
def message(topic, message = nil)
message - the message detail
topic - the topic of the message, e.g. "Configuration file", "Deprecation", etc.
Internal: Build a topic method
def message(topic, message = nil) raise ArgumentError, "block or message, not both" if block_given? && message message = yield if block_given? message = message.to_s.gsub(%r!\s+!, " ") topic = formatted_topic(topic, block_given?) out = topic + message messages << out out end