#include "MessageFilterValidator.h"
#include "MessageFilterValidatorFactory.h"
-
-#include <dpl/log/log.h>
#include "log.h"
+#include <Logger.h>
using namespace DeviceAPI::Tizen;
bool retVal = false;
if(attrName.compare(MessageFilterValidatorFactory::ATTRIBUTE_TIMESTAMP)!=0){
- MsgLogError(">>> [ERROR] Not Supported attribute :[" << attrName << "]");
+ MsgLoggerE(">>> [ERROR] Not Supported attribute :[" << attrName << "]");
return false;
}
}
retBool = FilterValidator::validateAttribute(attrName, matchFlag, matchValue, depth);
- LogDebug(">>> retBool:" << retBool);
+ LoggerD(">>> retBool:" << retBool);
return retBool;
}
bool MessageFilterValidator::validateAttributeEach(std::string& attrName,MatchFlag& matchFlag, DeviceAPI::Tizen::AnyPtr& value, int depth){
- LogDebug("<<< attrName:[" << attrName << "], value:[" << value->toString() << "]");
+ LoggerD("<<< attrName:[" << attrName << "], value:[" << value->toString() << "]");
if(attrName.compare(MessageFilterValidatorFactory::ATTRIBUTE_TYPE)==0){
if(m_isTypeSetted == true){
- MsgLogError(">>> [ERROR] duplicated type :[" << attrName << "], value:[" <<
+ MsgLoggerE(">>> [ERROR] duplicated type :[" << attrName << "], value:[" <<
value->toString()<< "]");
return false;
}else{
return false;
}
- LogDebug(">>> return true");
+ LoggerD(">>> return true");
return true;
}