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.



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

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



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

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