debian-mirror-gitlab/app/controllers/admin/logs_controller.rb
2019-12-04 20:38:33 +05:30

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