Module: Vk::Logging
Overview
Logging for every class
Instance Attribute Summary collapse
Instance Attribute Details
#logger ⇒ Logger
9 10 11 12 13 14 15 |
# File 'lib/vk/logging.rb', line 9 def logger @logger ||= if self.class.respond_to?(:logger) self.class.logger else Logger.new(STDOUT) end end |