Module: Ccg

Defined in:
lib/ccg_logger.rb

Class Method Summary collapse

Class Method Details

.logger(out = nil) ⇒ Object



10
11
12
13
14
15
16
17
# File 'lib/ccg_logger.rb', line 10

def self.logger out = nil
  if out.nil?
    @@logger ||= Gom::Logger.new
  else
    out = STDOUT if(out == '-')
    @@logger = (Gom::Logger.new out)
  end
end