-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
DiagnosticLogs: Add CHIP_ERROR Parameter to Reset and EndLogCollection Methods #36775
base: master
Are you sure you want to change the base?
Conversation
PR #36775: Size comparison from 5d42d92 to 6e17037 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
@vivien-apple Please review |
6e17037
to
5f8b982
Compare
PR #36775: Size comparison from 5d42d92 to 5f8b982 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
5f8b982
to
9e7dc2d
Compare
PR #36775: Size comparison from 8606290 to 9e7dc2d Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
src/app/clusters/diagnostic-logs-server/DiagnosticLogsProviderDelegate.h
Outdated
Show resolved
Hide resolved
src/app/clusters/diagnostic-logs-server/DiagnosticLogsProviderDelegate.h
Outdated
Show resolved
Hide resolved
acb0ac5
to
5ca918e
Compare
PR #36775: Size comparison from 2c11741 to 5ca918e Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
src/app/clusters/diagnostic-logs-server/BDXDiagnosticLogsProvider.h
Outdated
Show resolved
Hide resolved
PR #36775: Size comparison from 2c11741 to 2697dd9 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pimpalemahesh even though it is explained in the linked issue, please update the summary of the issue to explain WHY these changes are being made and how it makes life better.
The reason for asking this is that these messages make their way in git log, and I would much rather understand the changes from the log than needing to also open an issue to follow up.
* | ||
*/ | ||
virtual CHIP_ERROR EndLogCollection(LogSessionHandle sessionHandle) = 0; | ||
virtual CHIP_ERROR EndLogCollection(LogSessionHandle sessionHandle, CHIP_ERROR error = CHIP_NO_ERROR) = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still a breaking change. Like I asked: do we want to cause a break here, or do we want to do this in a backwards-compatible manner? That question was not answered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bzbarsky-apple I have overloaded the method in a backward-compatible manner. Please review.
Note: the PR description does not end up in the git log. The commit messages from the actual commits do.... Those should be describing why the change is being made. And they are not. |
…tion overload - Provides a default implementation for the EndLogCollection method with an additional error parameter. - This ensures backward compatibility, reduces the need for overriding in derived classes, and supports scenarios requiring context for log collection termination.
2697dd9
to
38bf32b
Compare
PR #36775: Size comparison from 9e203e2 to 38bf32b Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Fixes #36776
Change Overview: