module Crystal module Processors class ControllerLogger < Processor def call next_processor.call if (klass = workspace.class) and (method = workspace.method_name) logger.info "Processing #{klass.name}.#{method} with #{workspace.params.inspect}" end end end end end