vendor/bundle/ruby/2.6.0/gems/lumberjack-1.2.8/lib/lumberjack/logger.rb
# ::Logger compatible method to add a log entry.
::Logger compatible method to add a log entry.
:: Logger compatible method to add a log entry .
def add(severity, message = nil, progname = nil, &block)
      if message.nil?
        if block
          message = block
        else
          message = progname
          progname = nil
        end
      end
      add_entry(severity, message, progname)
    end
def add ( severity , message = nil , progname = nil , & block ) if message . nil? if block message = block else message = progname progname = nil end end add_entry ( severity , message , progname ) end
::Logger compatible method to add a log entry.
:: Logger compatible method to add a log entry .
severity
message
progname
block