Skip to content

Commit

Permalink
Merge pull request #745 from Fivell/patch-1
Browse files Browse the repository at this point in the history
allow to use Syslog::Logger
  • Loading branch information
geemus committed Apr 24, 2021
2 parents 7c154c1 + f64ec1a commit 25484a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/excon/instrumentors/logging_instrumentor.rb
Expand Up @@ -40,7 +40,7 @@ def self.instrument(name, params = {})
end
end

logger.log(Logger::INFO, info) if info
logger.info(info) if info

yield if block_given?
end
Expand Down

0 comments on commit 25484a0

Please sign in to comment.