Class: Khronos::Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/khronos/logger.rb

Class Method Summary collapse

Class Method Details

.method_missing(method, *args, &block) ⇒ Object



9
10
11
# File 'lib/khronos/logger.rb', line 9

def method_missing(method, *args, &block)
  @logger.send(method, *args, &block)
end

.setup!(logger) ⇒ Object



5
6
7
# File 'lib/khronos/logger.rb', line 5

def setup!(logger)
  @logger = logger
end