debian-mirror-gitlab/lib/gitlab/app_logger.rb
2020-03-09 13:42:32 +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