Have new AICatalog logger class, allow for consistent logging

About

Have a common logging class for all backend AI Catalog logging, that will log properties consistently to allow more successful filtering to see AI Catalog logs.

It should log to its own ai_catalog.log file https://docs.gitlab.com/development/logging/#how-to-use-json-logging.

It could contain some helpful abstractions for logging items and their versions consistently with certain properties part of the logs:

  • Item
  • ItemVersion
  • ItemConsumer
  • current_user
Edited by 🤖 GitLab Bot 🤖