Sha256: 5db5d077c4989f76c4929a4bb2d9ecb29b3d703fbad047f9ed91953bf4f8a837

Contents?: true

Size: 317 Bytes

Versions: 1

Compression:

Stored size: 317 Bytes

Contents

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

module Alephant
  module Logger
    def logger
      @@logger
    end

    def self.get_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-3.0.0 lib/alephant/logger.rb