Expose more of the logger state
authorKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 5 Oct 2020 17:36:25 +0000 (19:36 +0200)
committerMichael Schuster (Rebase PR Action) <misch7@users.noreply.github.com>
Wed, 7 Oct 2020 13:33:20 +0000 (13:33 +0000)
commit607347289ea3eb03b59bb72c75b9552a34d7b787
tree1ce074e86c39643feb68ba809e44e400b6524ed3
parent167800320ff0fbeda001f3a355e6d0896fabb5ca
Expose more of the logger state

It is better to rely on the Logger state to know exactly where we're
logging. Indeed due to the the various ways to impact its state the
config alone might not now where we're logging.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/logger.cpp
src/libsync/logger.h