Module: CLog

Defined in:
lib/cem/ccommon.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.logObject

Global, memoized, lazy initialized instance of a logger



144
145
146
# File 'lib/cem/ccommon.rb', line 144

def self.log
  @log ||= Logger.new(STDOUT)
end

Instance Method Details

#logObject



139
140
141
# File 'lib/cem/ccommon.rb', line 139

def log
  CLog.log
end