class Bio::Log::LoggerPlus

Derived from the Log4r Logger class

Public Instance Methods

[](name) click to toggle source
Calls superclass method
# File lib/bio/log/logger.rb, line 65
def [] name
  super
end
debug_(msg, options = {}) click to toggle source
# File lib/bio/log/logger.rb, line 25
def debug_ msg, options = {}
  if options[:act]
    options[:act].debug(self,msg)
  else
    debug msg
  end
end
default_level() click to toggle source
# File lib/bio/log/logger.rb, line 18
def default_level
  # Log4r::Logger::DEBUG
  6
end
default_sub_level() click to toggle source
# File lib/bio/log/logger.rb, line 22
def default_sub_level
end
error_(msg, options = {}) click to toggle source
# File lib/bio/log/logger.rb, line 49
def error_ msg, options = {}
  if options[:act]
    options[:act].error(self,msg)
  else
    error msg
  end
end
fatal_(msg, options = {}) click to toggle source
# File lib/bio/log/logger.rb, line 57
def fatal_ msg, options = {}
  if options[:act]
    options[:act].fatal(self,msg)
  else
    fatal msg
  end
end
info_(msg, options = {}) click to toggle source
# File lib/bio/log/logger.rb, line 33
def info_ msg, options = {}
  if options[:act]
    options[:act].info(self,msg)
  else
    info msg
  end
end
warn_(msg, options = {}) click to toggle source
# File lib/bio/log/logger.rb, line 41
def warn_ msg, options = {}
  if options[:act]
    options[:act].warn(self,msg)
  else
    warn msg
  end
end