lib/gitlab/qa/system_logs/finders/rails/api_log_finder.rb



# frozen_string_literal: true

module Gitlab
  module QA
    module SystemLogs
      module Finders
        module Rails
          class ApiLogFinder < JsonLogFinder
            def initialize(base_path, file_path = 'gitlab-rails/api_json.log')
              super(base_path, file_path)
            end

            def new_log(data)
              LogTypes::Rails::ApiLog.new(data)
            end
          end
        end
      end
    end
  end
end