Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V14: Refactor LogViewerService #14511

Merged
merged 20 commits into from
Jul 10, 2023
Merged

Conversation

Zeegaan
Copy link
Member

@Zeegaan Zeegaan commented Jul 6, 2023

Notes

  • Removed Serilog from LogViewerService
  • Implemented ILogViewerRepository that now handles the getting of the logs (if you wanted to swap out serilog, you theoretically could at least from the logviewer respective now, by implementing your own ILogViewerRepository)
  • Moved all the Serilog logic to the LogViewerRepository class
  • Moved LogViewerService into core project, as it no longer refers to any infrastructure code 🎉

While I would love to refactor the whole Serilog stuff, I think this should work wonders for now, and we at least have all the infrastructure code, out of our core services 💪

How to test

Query the different log endpoints, they should still work 🤞

@Zeegaan Zeegaan added the project/bellissima AKA "the new backoffice" label Jul 6, 2023
Copy link
Member

@elit0451 elit0451 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, merging shortly 💪

@elit0451 elit0451 merged commit e40f183 into v14/dev Jul 10, 2023
7 of 12 checks passed
@elit0451 elit0451 deleted the v14/feature/refactor-logviewer branch July 10, 2023 12:36
@iOvergaard iOvergaard removed the project/bellissima AKA "the new backoffice" label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants