lib/pheme/configuration.rb in pheme-5.1.15 vs lib/pheme/configuration.rb in pheme-5.2.0
- old
+ new
@@ -20,10 +20,10 @@
OPTIONAL_ATTRIBUTES = %i[rollbar].freeze
attr_accessor(*ATTRIBUTES, *OPTIONAL_ATTRIBUTES)
def initialize
- @logger ||= Logger.new(STDOUT) # rubocop:disable Lint/DisjunctiveAssignmentInConstructor
+ @logger ||= Logger.new($stdout) # rubocop:disable Lint/DisjunctiveAssignmentInConstructor
@logger = ActiveSupport::TaggedLogging.new(@logger) unless @logger.respond_to?(:tagged)
end
def validate!
ATTRIBUTES.each do |attribute|