Module: RelatonIso::Logger

Extended by:
Logger
Included in:
Logger
Defined in:
lib/relaton_iso/logger.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

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



5
6
7
# File 'lib/relaton_iso/logger.rb', line 5

def method_missing(method, *args, &block)
  Config.configuration.logger.send(method, *args, &block)
end

Instance Method Details

#respond_to_missing?(method_name, include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/relaton_iso/logger.rb', line 9

def respond_to_missing?(method_name, include_private = false)
  Config.configuration.logger.respond_to?(method_name) || super
end