Sha256: f61678cfb6a3d1c35bab7394017bbe42a5879d6e73bfbc59c0a4fa4a756ede66

Contents?: true

Size: 309 Bytes

Versions: 23

Compression:

Stored size: 309 Bytes

Contents

module Ring
class SQA

  if CFG.debug?
    require 'logger'
    Log = Logger.new STDERR
  else
    begin
      require 'syslog/logger'
      Log = Syslog::Logger.new 'ring-sqad%i' % ( CFG.afi == "ipv6" ? 6 : 4 )
    rescue LoadError
      require 'logger'
      Log = Logger.new STDERR
    end
  end

end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ring-sqa-0.4.3 lib/ring/sqa/log.rb
ring-sqa-0.4.2 lib/ring/sqa/log.rb
ring-sqa-0.4.1 lib/ring/sqa/log.rb
ring-sqa-0.3.1 lib/ring/sqa/log.rb
ring-sqa-0.3.0 lib/ring/sqa/log.rb
ring-sqa-0.2.2 lib/ring/sqa/log.rb
ring-sqa-0.2.1 lib/ring/sqa/log.rb
ring-sqa-0.2.0 lib/ring/sqa/log.rb
ring-sqa-0.1.12 lib/ring/sqa/log.rb
ring-sqa-0.1.11 lib/ring/sqa/log.rb
ring-sqa-0.1.10 lib/ring/sqa/log.rb
ring-sqa-0.1.9 lib/ring/sqa/log.rb
ring-sqa-0.1.8 lib/ring/sqa/log.rb
ring-sqa-0.1.7 lib/ring/sqa/log.rb
ring-sqa-0.1.6 lib/ring/sqa/log.rb
ring-sqa-0.1.5 lib/ring/sqa/log.rb
ring-sqa-0.1.4 lib/ring/sqa/log.rb
ring-sqa-0.1.3 lib/ring/sqa/log.rb
ring-sqa-0.1.2 lib/ring/sqa/log.rb
ring-sqa-0.1.1 lib/ring/sqa/log.rb