obs-deps
obs-deps copied to clipboard
utils.pwsh: Add debug logging in Install-BuildDependencies
Description
utils.pwsh: Add debug logging in Install-BuildDependencies
Motivation and Context
While checking another issue, it was helpful to have additional debug logging.
If the reflection to get the function name does not make sense for the added complexity, I could replace it with a simple string prefix, which is what we do elsewhere. https://github.com/obsproject/obs-deps/blob/006b94d8e1e4707c85edae99d8db25e1fc7a4f61/utils.pwsh/Invoke-External.ps1#L30
How Has This Been Tested?
Tested locally on Windows 11 in PowerShell 7.4.6.
Types of changes
- Tweak (non-breaking change to improve existing functionality)
Checklist:
- [ ] My code has been run through clang-format.
- [x] I have read the contributing document.
- [x] My code is not on the master branch.
- [x] The code has been tested.
- [x] All commit messages are properly formatted and commits squashed where appropriate.
- [x] I have included updates to all appropriate documentation.