Fix logger usage with bitwise operator
authorSangwan Kwon <sangwan.kwon@samsung.com>
Thu, 7 Nov 2019 10:16:28 +0000 (19:16 +0900)
committerSangwan Kwon <sangwan.kwon@samsung.com>
Fri, 8 Nov 2019 05:41:32 +0000 (14:41 +0900)
commita4b7c9997c983ff8f9f22f2b794e27866e1a8c22
treeb0025a35e0361cd915b150568d9c4ab6c38abdaf
parent0367e11eabfd3d8163311ead0e1481e443b51c31
Fix logger usage with bitwise operator

DEBUG, WARN logs are displayed when debug mode
- usage -
INFO(VIST) << "Info message" << 1;
DEBUG(VIST) << "Debug message" << 2 << 'a';
WARN(VIST) << "Warning message" << 3 << 'b' << true;
ERROR(VIST) << "Error message" << 4 << 'c' << false << 0.0f;

Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
15 files changed:
packaging/vist.spec
src/osquery/CMakeLists.txt
src/osquery/tables/tizen/policy.cpp
src/osquery/tables/tizen/policy_admin.cpp
src/vist/CMakeLists.txt
src/vist/client/query.cpp
src/vist/client/tests/virtual-table.cpp
src/vist/client/virtual-table.cpp
src/vist/exception.hpp
src/vist/logger.hpp
src/vist/policy/CMakeLists.txt
src/vist/policy/core/policy-manager.cpp
src/vist/policy/core/policy-storage.cpp
src/vist/service/vist.cpp
src/vist/tests/logger.cpp [new file with mode: 0644]