Sha256: 75dffd6dfb3833029102cf76cff5ed3917ce25839dfae226c8aec858b73e79c9

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

require 'singleton'
require 'tlogger'

module PkernelJce
  class GConf
    include Singleton
    attr_reader :logger_params, :glog
    def initialize
      @logger_params = STDOUT
      if ENV['PKERNEL_DEBUG'] == "true"
        @glog = Tlogger::Tlogger.new(STDOUT)
      else
        @glog = Tlogger::Tlogger.new('pkernel.log',10,1024*1024*10)
      end
      @glog.tag = :pkernel_jce
      @glog.show_source
    end  
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pkernel_jce-0.7.0 lib/pkernel_jce/global.rb