gui: Also log and print messages or questions like bitcoind
Summary:
Testing and debugging after shutdown are harder if the node was run through the gui, because errors and warnings would not be logged to the debug.log or written to the stderr (as is the case for bitcoind).
Backport of core PR14162
Depends on D5051.
Test Plan:
ninja all check ./src/qt/bitcoin-qt -regtest -walletdir=/foo/bar
Check an error message is also displayed to the console.
Reviewers: #bitcoin_abc, deadalnix, jasonbcox
Reviewed By: #bitcoin_abc, jasonbcox
Differential Revision: https://reviews.bitcoinabc.org/D5052