Disambiguate enable_syslog functions by adding a enable_syslog_facility enable-syslog-facility
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 22 Dec 2016 16:54:19 +0000 (17:54 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 23 Mar 2017 10:43:34 +0000 (11:43 +0100)
commitdaae73b522dd6c22418de3fd9f7ec3f8b3aa02fc
treec46cca2699237f5f2e9e5b389c7c7d09432e3b7d
parente26f7d51e2875e8fb877b7c845561ce0d878301e
Disambiguate enable_syslog functions by adding a enable_syslog_facility

Had determined that compiler casts Facility to bool even if given the perfect
constant value; avoid this by renaming one of the functions.

Also made arguments const refs (but that was not enough)
src/logfunc.cpp
src/logfunc.hpp
test/test_logging.cpp