Sha256: 168de15205d5cd9d73c5a99b0eb710da7550d2ff0d9a307e124306f896a3e965

Contents?: true

Size: 327 Bytes

Versions: 3

Compression:

Stored size: 327 Bytes

Contents

module Crystal
  module Processors
    class RemoteLogger < 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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
crystal-0.0.13 lib/crystal/remote/processors/remote_logger.rb
crystal-0.0.12 lib/crystal/remote/processors/remote_logger.rb
crystal_ext-0.0.11 lib/crystal/remote/processors/remote_logger.rb