Improved Sequencer logging of removed unneeded attributes to show inspect dump instead of .to_s

This commit is contained in:
Thorsten Eckel 2017-11-30 10:11:43 +01:00
parent d3062592ea
commit 8b3b90b9d0

View file

@ -262,7 +262,7 @@ class Sequencer
remove = !attribute.will_be_used?
remove ||= attribute.to <= @index
if remove && attribute.will_be_used?
logger.debug("Removing unneeded attribute '#{identifier}': #{@values[identifier]}")
logger.debug("Removing unneeded attribute '#{identifier}': #{@values[identifier].inspect}")
end
remove
end