wrt-plugins-tizen_0.4.23
[framework/web/wrt-plugins-tizen.git] / src / Messaging / EmailConverter.cpp
index 4177de3..0125370 100644 (file)
 // limitations under the License.
 //
 
-#include <dpl/log/log.h>
-
 #include <Commons/Exception.h>
-
 #include "EmailConverter.h"
+#include <Logger.h>
 
-#define LOG_ENTER LogDebug("---> ENTER");
-#define LOG_EXIT LogDebug("---> EXIT");
+#define LOG_ENTER LoggerD("---> ENTER");
+#define LOG_EXIT LoggerD("---> EXIT");
 
 namespace DeviceAPI {
 namespace Messaging {
@@ -51,7 +49,7 @@ MessagePriority::Priority toMessagePriority(email_mail_priority_t priority)
         // TODO Think it through, log is enough or exception should be thrown.
         //            ThrowMsg(WrtDeviceApis::Commons::PlatformException,
         //                     "Unsupported platform priority: " << priority);
-        LogWarning("Unsupported platform priority");
+        LoggerW("Unsupported platform priority");
     }
     }