# File lib/fluent/process.rb, line 398 def configure(conf) super if detach_process = conf['detach_process'] b3v = Config.bool_value(detach_process) case b3v when nil num = detach_process.to_i if num > 1 $log.warn "'detach_process' parameter supports only 1 process on this plugin: #{conf}" elsif num > 0 @detach_process = true elsif detach_process =~ /0+/ @detach_process = false else @detach_process = true end when true @detach_process = true when false @detach_process = false end end end
Generated with the Darkfish Rdoc Generator 2.