Class: Fluent::MonitorAgentInput
- Inherits:
-
Object
- Object
- Fluent::MonitorAgentInput
- Defined in:
- lib/fluent/plugin/fms_fluentd_ext.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.collect_children(pe, array = []) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/fluent/plugin/fms_fluentd_ext.rb', line 5 def self.collect_children(pe, array=[]) array << pe if pe.is_a?(MultiOutput) && pe.respond_to?(:outputs) pe.outputs.each {|nop| collect_children(nop, array) } elsif pe.respond_to?(:output) && pe.output.is_a?(Output) collect_children(pe.output, array) end array end |