Object
Wraps a real Logger. If no real Logger is set, then this wrapper will quietly swallow any logging calls.
Log using the appropriate method if we have a logger if we dont' have a logger, gracefully ignore.
# File lib/casclient.rb, line 58 def method_missing(name, *args) if !@real_logger.nil? && @real_logger.respond_to?(name) @real_logger.send(name, *args) end end
Assign the 'real' Logger instance that this dummy instance wraps around.
# File lib/casclient.rb, line 53 def set_real_logger(real_logger) @real_logger = real_logger end
Generated with the Darkfish Rdoc Generator 2.