Adapts logging

This commit is contained in:
Johannes Wendel
2020-01-06 22:01:18 +01:00
parent 31eb6f43d3
commit 02709e650f
23 changed files with 94 additions and 59 deletions

View File

@@ -18,7 +18,7 @@ namespace input
Event::Event(uint8_t address, int priority, std::string name) :
address(address), priority(priority), name(name)
{
//CLOG_IF(VLOG_IS_ON(0), INFO, INPUT_LOGGER) << "Created event: " << name << ", address: " << address;
CLOG_IF(VLOG_IS_ON(0), DEBUG, INPUT_LOGGER) << "Created event: " << name << ", address: " << address;
}
std::string Event::getJsonString()