class Fluent::DebugInput
Public Instance Methods
configure(conf)
click to toggle source
Calls superclass method
# File lib/fluent/plugin/in_debug.rb, line 8 def configure(conf) super Debuggable.extend_configure(::Fluent::Output) end
start()
click to toggle source
Calls superclass method
# File lib/fluent/plugin/in_debug.rb, line 13 def start # Engine.matches are created after input plugins are configured, so matches are empty in #configure # cf. https://github.com/fluent/fluentd/blob/56f198ecf5ca95dcddef7bdc21b5a309468670e3/lib/fluent/engine.rb#L123 # #start is called after that, so we can access to Engine.matches here super if @debug_all Engine.matches.each do |match| Debuggable.extend_emit(match.output) end end end