Module: Botiasloop::Logger

Defined in:
lib/botiasloop/logger.rb

Class Method Summary collapse

Class Method Details

.debug(msg) ⇒ Object



12
13
14
# File 'lib/botiasloop/logger.rb', line 12

def debug(msg)
  logger.debug(msg)
end

.error(msg) ⇒ Object



24
25
26
# File 'lib/botiasloop/logger.rb', line 24

def error(msg)
  logger.error(msg)
end

.info(msg) ⇒ Object



16
17
18
# File 'lib/botiasloop/logger.rb', line 16

def info(msg)
  logger.info(msg)
end

.loggerObject



8
9
10
# File 'lib/botiasloop/logger.rb', line 8

def logger
  @logger ||= create_logger
end

.warn(msg) ⇒ Object



20
21
22
# File 'lib/botiasloop/logger.rb', line 20

def warn(msg)
  logger.warn(msg)
end