Sha256: 042309229f63f4695f2d01d39b97c77397edd363e1dfc6be9370792ac50a5da6

Contents?: true

Size: 669 Bytes

Versions: 4

Compression:

Stored size: 669 Bytes

Contents

require 'message_driver/version'
require 'logger'

require 'message_driver/logging'
require 'message_driver/errors'
require 'message_driver/broker'
require 'message_driver/message'
require 'message_driver/middleware'
require 'message_driver/destination'
require 'message_driver/subscription'
require 'message_driver/adapters/base'
require 'message_driver/client'

module MessageDriver
  module_function

  def configure(broker_name = Broker::DEFAULT_BROKER_NAME, options)
    Broker.configure(broker_name, options)
  end

  def logger
    @__logger ||= Logger.new(STDOUT).tap { |l| l.level = Logger::INFO }
  end

  def logger=(logger)
    @__logger = logger
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
message-driver-0.5.3 lib/message_driver.rb
message-driver-0.5.2 lib/message_driver.rb
message-driver-0.5.1 lib/message_driver.rb
message-driver-0.5.0 lib/message_driver.rb