Class: Sicily::LoggerWrapper

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

Instance Method Summary collapse

Constructor Details

#initializeLoggerWrapper

Returns a new instance of LoggerWrapper.



11
12
13
# File 'lib/sicily/logger.rb', line 11

def initialize
  create_logger
end

Instance Method Details

#debug(*args) ⇒ Object



35
36
37
# File 'lib/sicily/logger.rb', line 35

def debug(*args)
  @logger.debug(*args)
end

#error(*args) ⇒ Object



23
24
25
# File 'lib/sicily/logger.rb', line 23

def error(*args)
  @logger.error(*args)
end

#fatal(*args) ⇒ Object



19
20
21
# File 'lib/sicily/logger.rb', line 19

def fatal(*args)
  @logger.fatal(*args)
end

#info(*args) ⇒ Object



31
32
33
# File 'lib/sicily/logger.rb', line 31

def info(*args)
  @logger.info(*args)
end

#unknown(*args) ⇒ Object



15
16
17
# File 'lib/sicily/logger.rb', line 15

def unknown(*args)
  @logger.unknown(*args)
end

#warn(*args) ⇒ Object



27
28
29
# File 'lib/sicily/logger.rb', line 27

def warn(*args)
  @logger.warn(*args)
end