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.9.6 lib/intacctrb/logger.rb
intacctrb-0.9.5 lib/intacctrb/logger.rb
intacctrb-0.9.4 lib/intacctrb/logger.rb
intacctrb-0.9.3 lib/intacctrb/logger.rb
intacctrb-0.9.2 lib/intacctrb/logger.rb
intacctrb-0.9.1 lib/intacctrb/logger.rb
intacctrb-0.9.0 lib/intacctrb/logger.rb
intacctrb-0.8.21 lib/intacctrb/logger.rb
intacctrb-0.8.20 lib/intacctrb/logger.rb
intacctrb-0.8.19 lib/intacctrb/logger.rb
intacctrb-0.8.18 lib/intacctrb/logger.rb
intacctrb-0.8.17 lib/intacctrb/logger.rb
intacctrb-0.8.16 lib/intacctrb/logger.rb
intacctrb-0.8.15 lib/intacctrb/logger.rb
intacctrb-0.8.14 lib/intacctrb/logger.rb
intacctrb-0.8.13 lib/intacctrb/logger.rb
intacctrb-0.8.12 lib/intacctrb/logger.rb
intacctrb-0.8.11 lib/intacctrb/logger.rb
intacctrb-0.8.10 lib/intacctrb/logger.rb
intacctrb-0.8.9 lib/intacctrb/logger.rb