]> sigrok.org Git - libsigrok.git/commit
log: Move log level check so that it affects all handlers.
authorUwe Hermann <redacted>
Sat, 21 Apr 2018 22:23:10 +0000 (00:23 +0200)
committerUwe Hermann <redacted>
Sat, 21 Apr 2018 22:23:10 +0000 (00:23 +0200)
commit2c267f6819c2bd0e6f7101ffd4eec35ef6c2a734
tree312e7cc64800d33fc04371721e85677bd322cc0b
parent7c59d8f310ebfbdc2647247bd7e4b40013a6bd38
log: Move log level check so that it affects all handlers.

Before this change, the loglevel check would only be performed for the
default log handler in libsigrok, but not for other handlers set
via sr_log_callback_set().

This fixes bug #698.
src/log.c