Class: Empezar::Log

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/empezar/log.rb

Constant Summary collapse

@@logger =
nil

Class Method Summary collapse

Class Method Details

.instanceObject



6
7
8
# File 'lib/empezar/log.rb', line 6

def self.instance
  @@logger
end

.start(logger) ⇒ Object



10
11
12
# File 'lib/empezar/log.rb', line 10

def self.start logger
  @@logger = logger
end