lib/sniffer/adapters/ethon_adapter.rb in sniffer-0.1.0 vs lib/sniffer/adapters/ethon_adapter.rb in sniffer-0.2.0

- old
+ new

@@ -68,12 +68,10 @@ timing: bm) @data_item.log end - if Ethon.logger.debug? - Ethon.logger.debug { "ETHON: performed #{log_inspect}" } - end + Ethon.logger.debug { "ETHON: performed #{log_inspect}" } if Ethon.logger.debug? complete @return_code end # rubocop:enable Metrics/AbcSize,Metrics/MethodLength