vendor/bundle/ruby/2.6.0/gems/lumberjack-1.2.8/lib/lumberjack/logger.rb
def call_add_entry(severity, message_or_progname_or_tags, progname_or_tags, &block) #:nodoc:
      message = nil
      progname = nil
      tags = nil
      if block
        message = block
        if message_or_progname_or_tags.is_a?(Hash)
          tags = message_or_progname_or_tags
          progname = progname_or_tags
        else
          progname = message_or_progname_or_tags
          tags = progname_or_tags if progname_or_tags.is_a?(Hash)
        end
      else
        message = message_or_progname_or_tags
        if progname_or_tags.is_a?(Hash)
          tags = progname_or_tags
        else
          progname = progname_or_tags
        end
      end
      add_entry(severity, message, progname, tags)
    end
# Dereference arguments to log calls so we can have methods with compatibility with ::Logger
Dereference arguments to log calls so we can have methods with compatibility with ::Logger
Dereference arguments to log calls so we can have methods with compatibility with :: Logger
def call_add_entry(severity, message_or_progname_or_tags, progname_or_tags, &block) 
      message = nil
      progname = nil
      tags = nil
      if block
        message = block
        if message_or_progname_or_tags.is_a?(Hash)
          tags = message_or_progname_or_tags
          progname = progname_or_tags
        else
          progname = message_or_progname_or_tags
          tags = progname_or_tags if progname_or_tags.is_a?(Hash)
        end
      else
        message = message_or_progname_or_tags
        if progname_or_tags.is_a?(Hash)
          tags = progname_or_tags
        else
          progname = progname_or_tags
        end
      end
      add_entry(severity, message, progname, tags)
    end
def call_add_entry ( severity , message_or_progname_or_tags , progname_or_tags , & block ) message = nil progname = nil tags = nil if block message = block if message_or_progname_or_tags . is_a? ( Hash ) tags = message_or_progname_or_tags progname = progname_or_tags else progname = message_or_progname_or_tags tags = progname_or_tags if progname_or_tags . is_a? ( Hash ) end else message = message_or_progname_or_tags if progname_or_tags . is_a? ( Hash ) tags = progname_or_tags else progname = progname_or_tags end end add_entry ( severity , message , progname , tags ) end
Dereference arguments to log calls so we can have methods with compatibility with ::Logger
Dereference arguments to log calls so we can have methods with compatibility with :: Logger
#:nodoc:
severity
message_or_progname_or_tags
progname_or_tags
block