Sha256: b558f21a8ad9dfa81d11202d9b3035808ed1db4152a65f95ee79c230e6786cee

Contents?: true

Size: 190 Bytes

Versions: 34

Compression:

Stored size: 190 Bytes

Contents

require 'logger'

module IntacctRB  
  def self.logger
    @@logger ||= defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
  end

  def self.logger=(logger)
    @@logger = logger
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
intacctrb-0.8.8 lib/intacctrb/logger.rb
intacctrb-0.8.7 lib/intacctrb/logger.rb
intacctrb-0.8.6 lib/intacctrb/logger.rb
intacctrb-0.8.5 lib/intacctrb/logger.rb
intacctrb-0.8.4 lib/intacctrb/logger.rb
intacctrb-0.8.3 lib/intacctrb/logger.rb
intacctrb-0.8.2 lib/intacctrb/logger.rb
intacctrb-0.8.1 lib/intacctrb/logger.rb
intacctrb-0.8 lib/intacctrb/logger.rb
intacctrb-0.7.2 lib/intacctrb/logger.rb
intacctrb-0.7.1 lib/intacctrb/logger.rb
intacctrb-0.7 lib/intacctrb/logger.rb
intacctrb-0.6.5 lib/intacctrb/logger.rb
intacctrb-0.6.4 lib/intacctrb/logger.rb