Logging: Adjust UI colors to suit both dark and bright themes
Logging: avoid "cb was NULL" warning message during logging shutdown Commit 4b9234088f56 introduced the fetch and restore of the libraries' default log routines in addition to the registration of a Pulseview application's log routine. Some code paths in main() could result in unexpected "cb was NULL" messages on stderr, when logging::init() did not execute but the destructor tried to restore a handler which was not fetched before. Silence the error message.
Include suggested changes by clang-tidy
Logging: Write messages from qDebug() and friends also to stdout
Logging: obsolete -s, log to internal buffer as well as stdout Query the sr and srd libraries' current log routines before registering PV's own log callback which queues messages in an internal buffer. This allows duplication of messages to the internal buffer _and_ stdout, and thus obsoletes the -s option.
Prevent log length to be set to 0 Doing so prevents PV from starting up, so disallow it
Logging: Make logging thread-safe Otherwise, we crash when two threads try to add entries to the log at the same time.
Fix build with -DENABLE_DECODE=n.
Fix two clang-tidy warnings.
logging: Minor consistency fixes.
logging: Use different color for srd log messages. The old brown color looked pretty reddish on some monitors (which could be confused to mean "error"), select a slightly different color.
Add logging mechanism