Class: FluQ::Handler::Log
Defined Under Namespace
Classes: FilePool
Instance Attribute Summary collapse
- #pool ⇒ Object readonly
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ Log
constructor
A new instance of Log.
- #on_events(events) ⇒ Object
Methods inherited from Base
Methods included from Mixins::Loggable
Constructor Details
Instance Attribute Details
#pool ⇒ Object (readonly)
18 19 20 |
# File 'lib/fluq/handler/log.rb', line 18 def pool @pool end |
Instance Method Details
#on_events(events) ⇒ Object
30 31 32 |
# File 'lib/fluq/handler/log.rb', line 30 def on_events(events) partition(events).each {|path, slice| write(path, slice) } end |