gitlab-org--gitlab-foss/lib/gitlab/graphql_logger.rb
charlieablett 2c011cb5b4 Implement logger analyzer
- Modify GraphqlLogger to subclass JsonLogger
- Replace the single-line analyser with one that can log all the GraphQL
query related information in one place.
- Implement analyzer behavior with spec
2019-05-30 18:27:28 +12:00

9 lines
156 B
Ruby

# frozen_string_literal: true
module Gitlab
class GraphqlLogger < Gitlab::JsonLogger
def self.file_name_noext
'graphql_json'
end
end
end