lib/eco/api/usecases/use_case.rb in eco-helpers-3.0.4 vs lib/eco/api/usecases/use_case.rb in eco-helpers-3.0.5
- old
+ new
@@ -56,10 +56,12 @@
params = io&.params(keyed: true, all: true) || {}
kargs = params.merge(kargs).merge(usecase: self)
UseCaseIO.new(**kargs).tap do |uio|
@options = uio.options
- uio.session.logger.debug("#{self.class}: going to process '#{name}'")
+ uio.session.log(:debug) {
+ "#{self.class}: going to process '#{name}'"
+ }
set_session_n_options(uio) if callback_from_loader?
uio.output = callback.call(*uio.params)
@times_launched += 1