Module: CPEE::Logging
- Defined in:
- lib/cpee-logging-xes-yaml/logging.rb
Defined Under Namespace
Classes: Handler
Constant Summary collapse
- SERVER =
File.(File.join(__dir__,'logging.xml'))
Class Method Summary collapse
Class Method Details
.implementation(opts) ⇒ Object
}}}
104 105 106 107 108 109 110 111 112 113 |
# File 'lib/cpee-logging-xes-yaml/logging.rb', line 104 def self::implementation(opts) opts[:log_dir] ||= File.join(__dir__,'logs') opts[:template] ||= File.join(__dir__,'template.xes_yaml') Proc.new do interface 'events' do run Handler, opts[:log_dir], opts[:template] if post 'event' end end end |