module VcenterLibMongodb::Logging

for logger access just include this module

Attributes

logger[W]

Public Class Methods

included(base) click to toggle source

addition

# File lib/vcenter_lib_mongodb/logging.rb, line 16
def self.included(base)
  class << base
    def logger
      # :nocov:
      Logging.logger
      # :nocov:
    end

    def logger=(logger)
      # :nocov:
      Logging.logger = logger
      # :nocov:
    end
  end
end
logger() click to toggle source
# File lib/vcenter_lib_mongodb/logging.rb, line 10
def logger
  @logger ||= VcenterLib::Logging.logger
end

Public Instance Methods

logger() click to toggle source
# File lib/vcenter_lib_mongodb/logging.rb, line 32
def logger
  Logging.logger
end
logger=(logger) click to toggle source
# File lib/vcenter_lib_mongodb/logging.rb, line 36
def logger=(logger)
  Logging.logger = logger
end