Skip to content

Commit 4a9352c

Browse files
committed
fix logging debug
1 parent 80d861b commit 4a9352c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/splitclient-rb/engine/matchers/rule_based_segment_matcher.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def match?(args)
4040
break if matched
4141
end
4242

43-
@logger.debug("[InRuleSegmentMatcher] #{@segment_name} is in rule based segment -> #{matched}")
43+
@config.logger.debug("[InRuleSegmentMatcher] #{@segment_name} is in rule based segment -> #{matched}") if @config.debug_enabled
4444
matched
4545
end
4646

0 commit comments

Comments
 (0)