Sha256: 5462de49c40b4cd8f530b6bc25a4e4e811f52b2da16e4594e025691906971ae1
Contents?: true
Size: 340 Bytes
Versions: 1
Compression:
Stored size: 340 Bytes
Contents
require 'tlogger' require 'singleton' module Oqs class Global include Singleton attr_accessor :logger def initialize logPath = ENV['OQS_LOG_PATH'] if not (logPath.nil? or logPath.empty?) @logger = Tlogger.new(logPath,10,1024*1024*10) else @logger = Tlogger.new end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
liboqs-0.1.0 | lib/oqs/global.rb |