Class: Fluent::TextParser::GrokPure::LogProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/fluent/plugin/parser_grok_pure.rb

Instance Method Summary collapse

Constructor Details

#initialize(logger) ⇒ LogProxy

Returns a new instance of LogProxy.



66
67
68
# File 'lib/fluent/plugin/parser_grok_pure.rb', line 66

def initialize(logger)
  @logger = logger
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(sym, *args, &block) ⇒ Object



70
71
72
# File 'lib/fluent/plugin/parser_grok_pure.rb', line 70

def method_missing(sym, *args, &block)
  @logger.send(sym, *args, &block)
end