Sha256: 528271d5401f81f5f8d8c30088ceaca5613f9c273ebb39c808adad38fef1bb7a
Contents?: true
Size: 372 Bytes
Versions: 6
Compression:
Stored size: 372 Bytes
Contents
require "alephant/logger/version" require "alephant/logger_factory" require "logger" module Alephant module Logger def logger Alephant::Logger.setup unless defined? @@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
6 entries across 6 versions & 1 rubygems