Class: Fluent::TextParser::GrokPure::LogProxy
- Inherits:
-
Object
- Object
- Fluent::TextParser::GrokPure::LogProxy
- Defined in:
- lib/fluent/plugin/parser_grok_pure.rb
Instance Method Summary collapse
-
#initialize(logger) ⇒ LogProxy
constructor
A new instance of LogProxy.
- #method_missing(sym, *args, &block) ⇒ Object
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 |