Module: Esse::Logging::ClassMethods
- Defined in:
- lib/esse/logging.rb
Instance Method Summary collapse
Instance Method Details
#logger ⇒ Object
10 11 12 |
# File 'lib/esse/logging.rb', line 10 def logger @logger ||= ::Logger.new($stdout) end |
#logger=(log) ⇒ Object
14 15 16 |
# File 'lib/esse/logging.rb', line 14 def logger=(log) @logger = log || ::Logger.new(File::NULL) end |