refactor: replace mark_state_change puts with log

This commit is contained in:
David Bailey 2023-04-17 16:34:48 +02:00
parent 7910527d99
commit 52df7ce2bd

View file

@ -269,7 +269,7 @@ module Comfpile
private def mark_state_change(state, reason, abort: false)
return unless @exit_state.nil?
puts "#{@stage} #{target}: Reached state #{state}: #{reason}"
log "Reached state #{state}: #{reason}"
@exit_state = state
@reason = reason