# File lib/fluent/log.rb, line 346 def self.included(klass) klass.instance_eval { config_param :log_level, :string, :default => nil } end
# File lib/fluent/log.rb, line 352 def initialize super @log = $log # Use $log object directly by default end
# File lib/fluent/log.rb, line 360 def configure(conf) super if @log_level unless @log.is_a?(PluginLogger) @log = PluginLogger.new($log) end @log.level = @log_level end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.