Sha256: f46d2a0e3ba62519c6005ff5cce99c714f4eb48265010da002b3a6a8a1c50bca
Contents?: true
Size: 376 Bytes
Versions: 20
Compression:
Stored size: 376 Bytes
Contents
require 'httparty/logger/apache_logger' require 'httparty/logger/curl_logger' module HTTParty module Logger def self.build(logger, level, formatter) level ||= :info format ||= :apache case formatter when :curl Logger::CurlLogger.new(logger, level) else Logger::ApacheLogger.new(logger, level) end end end end
Version data entries
20 entries across 19 versions & 7 rubygems