Module: SimpleStructuredLogger::Configuration
Instance Method Summary collapse
Instance Method Details
#expand_context(&block) ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/simple_structured_logger.rb', line 22 def (&block) if block.nil? @expand_context = block else @expand_context end end |
#expand_log(&block) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/simple_structured_logger.rb', line 30 def (&block) if block.nil? @expand_log = block else @expand_log end end |