Skip to content

Commit

Permalink
Initialize formatter if not given by caller same way as level
Browse files Browse the repository at this point in the history
  • Loading branch information
vassilevsky committed Nov 3, 2014
1 parent a028de4 commit 709ddfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/httparty/logger/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module HTTParty
module Logger
def self.build(logger, level, formatter)
level ||= :info
format ||= :apache
formatter ||= :apache

case formatter
when :curl
Expand Down

0 comments on commit 709ddfe

Please sign in to comment.