updatehub: firmware: Rework the callback log handling
updatehub: firmware: Rework the callback log handling

The log handling has been reworked so we receive logs when the callbacks
run successfully or error out, it also unified the log handling so we
reduced code duplication.

Signed-off-by: Otavio Salvador <1d31b11c1b92bf5d043d36edfe7174db39a6b891@ossystems.com.br>
Signed-off-by: Jonathas-Conceicao <33cd5f63a6435f6b1365c76100ff4a5652c45928@ossystems.com.br>

UpdateHub/updatehub