summaryrefslogtreecommitdiff
path: root/app/controllers/admin/logs_controller.rb
blob: 14245300633eea10acc6d824f1bd93520a6db97c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# frozen_string_literal: true

class Admin::LogsController < Admin::ApplicationController
  before_action :loggers

  def show
  end

  private

  def loggers
    @loggers ||= [
      Gitlab::AppLogger,
      Gitlab::GitLogger,
      Gitlab::EnvironmentLogger,
      Gitlab::SidekiqLogger,
      Gitlab::RepositoryCheckLogger,
      Gitlab::ProjectServiceLogger,
      Gitlab::Kubernetes::Logger
    ]
  end
end

Admin::LogsController.prepend_if_ee('EE::Admin::LogsController')