gitlab-org--gitlab-foss/app/controllers/admin/logs_controller.rb

24 lines
478 B
Ruby

# 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')