This PR puts the events from getRPackages into their own log phase. Currently, they appear as agent/log events. This adds a new phase to the logs view.
Fixes #1593
Type of Change
[ ] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Documentation
[x] Refactor
[ ] Tooling
Approach
Create a new log/event operation. Inject a logger into the code that gets the R package descriptions so that all log messages will have the correct operation.
Automated Tests
Existing tests have been updated.
Directions for Reviewers
Deploy R content. See the new phase in the Posit Publisher Logs view.
Intent
This PR puts the events from
getRPackages
into their own log phase. Currently, they appear asagent/log
events. This adds a new phase to the logs view.Fixes #1593
Type of Change
Approach
Create a new log/event operation. Inject a logger into the code that gets the R package descriptions so that all log messages will have the correct operation.
Automated Tests
Existing tests have been updated.
Directions for Reviewers
Deploy R content. See the new phase in the Posit Publisher Logs view.