    # File lib/rbot/core/irclog.rb, line 109
      def listen(m)
        case m
        when PrivMessage
          method = 'log_message'
        else
          method = 'log_' + m.class.name.downcase.match(/^irc::(\w+)message$/).captures.first
        end
        if self.respond_to?(method)
          self.__send__(method, m)
        else
          warning "unhandled logging for #{m.pretty_inspect} (no such method #{method})"
          unknown_message(m)
        end
      end