Class: RMuh::RPT::Log::Formatters::UnitedOperationsLog
- Defined in:
- lib/rmuh/rpt/log/formatters/unitedoperationslog.rb
Overview
Formatter for the UnitedOperations Log file
Class Method Summary collapse
Class Method Details
.format(event) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/rmuh/rpt/log/formatters/unitedoperationslog.rb', line 11 def format(event) case event[:type] when :connect format_connect(event) when :disconnect format_disconnect(event) when :beguid format_beguid(event) when :chat format_chat(event) else nil end end |