]> sigrok.org Git - pulseview.git/commit
Logging: obsolete -s, log to internal buffer as well as stdout
authorGerhard Sittig <redacted>
Wed, 15 Aug 2018 21:48:52 +0000 (23:48 +0200)
committerUwe Hermann <redacted>
Thu, 30 Aug 2018 17:17:20 +0000 (19:17 +0200)
commit4b9234088f56c5b0e22f8aa5b18ef346285a7fc6
tree8cbd1fe554d895b828c1be7eeed8d87a16615a3b
parent764596c46b35df816e2345e3da0fc3fdbdc84638
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.
main.cpp
pv/logging.cpp