lib/benchmark/http/command.rb in benchmark-http-0.15.0 vs lib/benchmark/http/command.rb in benchmark-http-0.15.1
- old
+ new
@@ -23,10 +23,11 @@
require_relative 'command/spider'
require_relative 'command/hammer'
require_relative 'version'
require 'samovar'
+require 'console'
module Benchmark
module HTTP
module Command
def self.call(*args)
@@ -57,14 +58,14 @@
@options[:logging] == :quiet
end
def call
if verbose?
- Async.logger.debug!
+ Console.logger.debug!
elsif quiet?
- Async.logger.warn!
+ Console.logger.warn!
else
- Async.logger.info!
+ Console.logger.info!
end
if @options[:version]
puts "#{self.name} v#{VERSION}"
elsif @options[:help]