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

Logging improvements #487

Merged
merged 2 commits into from
Jun 30, 2022
Merged

Logging improvements #487

merged 2 commits into from
Jun 30, 2022

Conversation

philips77
Copy link
Member

This PR improves how classes and structs are being logged. Instead of a description property, now they extend CustomStringConvertible with the same property, which allows them to be converted to String automatically.

@philips77 philips77 merged commit c899c50 into main Jun 30, 2022
@philips77 philips77 deleted the feature/logging-improvements branch June 30, 2022 12:20
GaelleJoubert added a commit to GaelleJoubert/nordic_dfu that referenced this pull request Sep 27, 2022
The DFULibrary dependency has been updated to V4.13.0, BUT, as mentionned in the iOSDFULibrary github changelog :
https://github.com/NordicSemiconductor/IOS-DFU-Library/releases

" Breaking: Creating DFUFirmware may now throw an error by @philips77 in NordicSemiconductor/IOS-DFU-Library#486
Logging improvements by @philips77 in NordicSemiconductor/IOS-DFU-Library#487 "

So the code need to be change to a "do/try/catch", as the previous "gard/else" is now throwing errors at the build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant