module Centurion::Logging

Public Instance Methods

debug(*args) click to toggle source
# File lib/centurion/logging.rb, line 19
def debug(*args)
  log.debug args.join(' ')
end
error(*args) click to toggle source
# File lib/centurion/logging.rb, line 15
def error(*args)
  log.error args.join(' ')
end
info(*args) click to toggle source
# File lib/centurion/logging.rb, line 7
def info(*args)
  log.info args.join(' ')
end
warn(*args) click to toggle source
# File lib/centurion/logging.rb, line 11
def warn(*args)
  log.warn args.join(' ')
end

Private Instance Methods

log(*args) click to toggle source
# File lib/centurion/logging.rb, line 25
def log(*args)
  @@logger ||= Logger.new(STDOUT)
end