lib/tee_logger.rb in tee_logger-2.3.0 vs lib/tee_logger.rb in tee_logger-2.3.1

- old
+ new

@@ -101,10 +101,10 @@ end # @todo Too miscellaneous # @param target [String, Symbol] def disable(target) - instance_variable_get("@#{target}").formatter = proc { |_, _, _, _| } + instance_variable_get("@#{target}").formatter = proc { |_, _, _, _| '' } end # @todo Too miscellaneous # @param target [String, Symbol] def enable(target)