Class: Eventish::Plugins::Logger
- Inherits:
-
Object
- Object
- Eventish::Plugins::Logger
- Defined in:
- lib/eventish/plugins/logger.rb
Class Method Summary collapse
Class Method Details
.call(target, _args, event:, hook: nil, &_block) ⇒ Object
7 8 9 |
# File 'lib/eventish/plugins/logger.rb', line 7 def call(target, _args, event:, hook: nil, &_block) puts "[#{Time.now}] EVENT: #{hook} #{event.class.event_name} on #{target.inspect}" end |