debian-mirror-gitlab/lib/gitlab/app_logger.rb
2020-03-13 15:44:24 +05:30

15 lines
283 B
Ruby

# frozen_string_literal: true
module Gitlab
class AppLogger < Gitlab::MultiDestinationLogger
LOGGERS = [Gitlab::AppTextLogger, Gitlab::AppJsonLogger].freeze
def self.loggers
LOGGERS
end
def self.primary_logger
Gitlab::AppTextLogger
end
end
end