def log_for(id, page = 1, per_page = 20, order_by = :request_time, order_dir = :desc)
      params = {
        :id => id
      }
      requires params
      params.merge!(
        :page => page,
        :per_page => per_page,
        :order_by => order_by,
        :order_dir => order_dir
      )
      DataSift.request(:GET, 'push/log', @config, params)
    end
def log_for(id, page = 1, per_page = 20, order_by = :request_time, order_dir = :desc)
      params = {
        :id => id
      }
      requires params
      params.merge!(
        :page => page,
        :per_page => per_page,
        :order_by => order_by,
        :order_dir => order_dir
      )
      DataSift.request(:GET, 'push/log', @config, params)
    end
Retrieve log messages for a specific subscription

 @param id [String] ID of the Push subscription to retrieve logs for
 @param page [Integer] Which page of logs to retreive
 @param per_page [Integer] How many logs to return per page
 @param order_by [String, Symbol] Which field to sort results by
 @param order_dir [String, Symbol] Order results in ascending or descending