Sha256: b6e9e0a015a28a4dbbad1702a23970d5cf4b603bb11fb52e85bf5c8c4ee7e79d
Contents?: true
Size: 337 Bytes
Versions: 2
Compression:
Stored size: 337 Bytes
Contents
require 'buffered_logger' module Quickbooks::Logger def log Quickbooks::Log.log end end class Quickbooks::Log private_class_method :new LOG_LEVEL = 1 def self.init(log_level) @log = BufferedLogger.new(STDOUT, log_level || LOG_LEVEL) end def self.log @log ||= BufferedLogger.new(STDOUT, LOG_LEVEL) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
quickbooks_api-0.1.1 | lib/quickbooks/logger.rb |
quickbooks_api-0.1.0 | lib/quickbooks/logger.rb |