log_line (God::Task)

    # File lib/god/task.rb, line 406
        def log_line(watch, metric, condition, result)
          status =
          if self.trigger?(metric, result)
            "[trigger]"
          else
            "[ok]"
          end

          messages = []

          # log info if available
          if condition.info
            Array(condition.info).each do |condition_info|
              messages << "#{watch.name} #{status} #{condition_info} (#{condition.base_name})"
              applog(watch, :info, messages.last)
            end
          else
            messages << "#{watch.name} #{status} (#{condition.base_name})"
            applog(watch, :info, messages.last)
          end

          # log
          debug_message = watch.name + ' ' + condition.base_name + " [#{result}] " + self.dest_desc(metric, condition)
          applog(watch, :debug, debug_message)

          messages
        end