Sha256: 55d641b704f6f6846cb91012bb73509362420e9491a4005748460aa8cf766b83

Contents?: true

Size: 319 Bytes

Versions: 1

Compression:

Stored size: 319 Bytes

Contents

require "alephant/logger/version"
require "alephant/logger_factory"
require "logger"

module Alephant
  module Logger
    @@logger = Alephant::LoggerFactory.create []

    def logger
      @@logger
    end

    def self.setup(*drivers)
      @@logger = Alephant::LoggerFactory.create(drivers.flatten)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alephant-logger-1.1.1 lib/alephant/logger.rb