class YetiLogger::WrappedLogger

This class provides a wrapper around an instance of a class that includes YetiLogger.

The wrapper responds to the standard Logger methods :info, :warn, :error, and :debug, and forwards to the YetiLogger methods.

Public Class Methods

new(obj) click to toggle source

@param obj [Object] An instance of a class that includes YetiLogger.

# File lib/yeti_logger/wrapped_logger.rb, line 11
def initialize(obj)
  @obj = obj
end