Extend rubocop Rails.logger to prevent usage of AppLogger
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
On gitlab-foss#54102 (closed) we added a rubocop for Rails.logger, we should extend this one to also prevent the usage of AppLogger.
From !17779 (comment 222741696)
We could easily replace it with a
AppJsonLoggeror something of the sort that inherits fromJsonLogger: https://docs.gitlab.com/ee/development/logging.html
Edited by 🤖 GitLab Bot 🤖