Sha256: fea835a39c203cd5b6ab6663ef3445958f02b8eaac8c846e8b2b164ce977deb2

Contents?: true

Size: 404 Bytes

Versions: 11

Compression:

Stored size: 404 Bytes

Contents

require 'volt/utils/logging/task_argument_filterer'

module Volt
  class TaskLogger
    def self.task_dispatch_message(logger, args)
      msg = "task #{logger.class_name}##{logger.method_name} in #{logger.run_time}\n"
      if args.size > 0
        arg_str = TaskArgumentFilterer.filter(args).map {|v| v.inspect }.join(', ')
        msg += "with args: #{arg_str}\n"
      end
      msg
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
volt-0.9.1 lib/volt/utils/logging/task_logger.rb
volt-0.9.1.pre5 lib/volt/utils/logging/task_logger.rb
volt-0.9.1.pre4 lib/volt/utils/logging/task_logger.rb
volt-0.9.1.pre3 lib/volt/utils/logging/task_logger.rb
volt-0.9.1.pre2 lib/volt/utils/logging/task_logger.rb
volt-0.9.1.pre1 lib/volt/utils/logging/task_logger.rb
volt-0.9.0 lib/volt/utils/logging/task_logger.rb
volt-0.9.0.pre7 lib/volt/utils/logging/task_logger.rb
volt-0.9.0.pre6 lib/volt/utils/logging/task_logger.rb
volt-0.9.0.pre5 lib/volt/utils/logging/task_logger.rb
volt-0.9.0.pre4 lib/volt/utils/logging/task_logger.rb