From d047559087401eaf25eef66ec2b7f7e5f7ecd2d6 Mon Sep 17 00:00:00 2001 From: "Daniel J. Pritchett" Date: Fri, 1 Aug 2014 10:00:13 -0500 Subject: [PATCH] Log all hubot output to debug log? I was hoping to build something on top of hubot's log (a twitter integration) and I noticed that while hubot's logging everything he hears he's not logging everything he says. If he were logging his own .send() text then I could very easily hook into that. What do you think? cc @joshwlewis btw thanks for this library from #memtech on freenode :beer: --- src/irc.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/irc.coffee b/src/irc.coffee index b433ca4..cf0ebce 100644 --- a/src/irc.coffee +++ b/src/irc.coffee @@ -23,6 +23,7 @@ class IrcBot extends Adapter return logger.error "ERROR: Not sure who to send to. envelope=", envelope for str in strings + logger.debug "#{target} #{str}" @bot.say target, str sendPrivate: (envelope, strings...) ->