May as well add Stevenson#debug

This commit is contained in:
Parker Moore
2013-07-22 11:30:19 +02:00
parent c6a37a424b
commit e359472870

View File

@@ -15,6 +15,16 @@ module Jekyll
def initialize(level = INFO)
@log_level = level
end
# Public: Print a jekyll debug message to stdout
#
# topic - the topic of the message, e.g. "Configuration file", "Deprecation", etc.
# message - the message detail
#
# Returns nothing
def debug(topic, message = nil)
$stdout.puts(message(topic, message)) if log_level <= DEBUG
end
# Public: Print a jekyll message to stdout
#