Class: Crystal::Processors::ControllerLogger
- Inherits:
-
Crystal::Processor
- Object
- Crystal::Processor
- Crystal::Processors::ControllerLogger
- Defined in:
- lib/crystal/controller/processors/controller_logger.rb
Instance Attribute Summary
Attributes inherited from Crystal::Processor
Instance Method Summary collapse
Methods inherited from Crystal::Processor
Constructor Details
This class inherits a constructor from Crystal::Processor
Instance Method Details
#call ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/crystal/controller/processors/controller_logger.rb', line 4 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 |