lib/ios_logs/plugin.rb
#
# Print logs for given logs set and message
# @param logs [Array<FileLog>] List of `NSLog` or `print`
# @param message [String] Message to print
# @param method [Symbol] Method to indicate usage
#
# @return [Void]
Print logs for given logs set and message
Print logs for given logs set and message
def print_log_for(logs, message, method)
      logs.each do |log|
        public_send(
          method,
          message,
          sticky: false,
          file: log.file,
          line: log.line
        )
      end
    end
def print_log_for ( logs , message , method ) logs . each do | log | public_send ( method , message , sticky : false , file : log . file , line : log . line ) end end
Print logs for given logs set and message
Print logs for given logs set and message
None
Void
logs
List of `NSLog` or `print`
List of ` NSLog ` or ` print `
message
Message to print
Message to print
method
Method to indicate usage
Method to indicate usage