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.1.0 lib/ring/sqa/log.rb
ring-sqa-0.0.23 lib/ring/sqa/log.rb
ring-sqa-0.0.22 lib/ring/sqa/log.rb