]> sigrok.org Git - libsigrok.git/commit
log: Output timestamps at level SR_LOG_DBG too
authorDaniel Elstner <redacted>
Sat, 12 Sep 2015 22:58:36 +0000 (00:58 +0200)
committerDaniel Elstner <redacted>
Sat, 12 Sep 2015 22:58:36 +0000 (00:58 +0200)
commit6d9da8efbf1429301922eb7ab1551866362544ab
tree8e86f41583ae1908c1a796e389a0236704193f9c
parentbe92d5b4ee4a7ebc5096e9e4718be0ed34ce690c
log: Output timestamps at level SR_LOG_DBG too

SR_LOG_DBG and above are targeted at developers, so it makes sense
to extend timestamp output to that. Also sanitize the calculation
of the timestamp components a bit.
src/log.c