Module: Relaton::Logger::Config

Included in:
Relaton::Logger
Defined in:
lib/relaton/logger/config.rb

Instance Method Summary collapse

Instance Method Details

#configurationObject



7
8
9
# File 'lib/relaton/logger/config.rb', line 7

def configuration
  @configuration ||= self::Configuration.new
end

#configure {|configuration| ... } ⇒ Object

Yields:



3
4
5
# File 'lib/relaton/logger/config.rb', line 3

def configure
  yield configuration if block_given?
end