lib/chatterbot/logging.rb in chatterbot-0.2.6 vs lib/chatterbot/logging.rb in chatterbot-0.2.7
- old
+ new
@@ -9,10 +9,10 @@
#
# log a message
def debug(s)
puts s if verbose?
- logger.debug s unless ! logging?
+ logger.debug "#{botname} #{s}" unless ! logging?
end
#
# something really bad happened, print it out and log it
def critical(s)