Apply secure logs.
[platform/framework/native/ime.git] / src / FUiIme_InputMethodManagerImpl.cpp
index 6b046af..f1f900f 100644 (file)
@@ -89,7 +89,7 @@ _InputMethodManagerImpl::GetInstance(InputMethodManager& inputMethodManager)
 InputMethodInfo*\r
 _InputMethodManagerImpl::GetInputMethodInfoN(const char* pAppRootPath)\r
 {\r
-       SysLog(NID_UI_IME, "The root path of the application is %s.", pAppRootPath);\r
+       SysSecureLog(NID_UI_IME, "The root path of the application is %s.", pAppRootPath);\r
 \r
        result r = E_SUCCESS;\r
 \r
@@ -167,7 +167,7 @@ _InputMethodManagerImpl::ParseInputMethodInfo(const xmlNodePtr pXmlRootElement,
                                if (pXmlChar)\r
                                {\r
                                        pInputMethodInfoImpl->SetAppId(reinterpret_cast<char*>(pXmlChar));\r
-                                       SysLog(NID_UI_IME, "The package ID is %s.", reinterpret_cast<char*>(pXmlChar));\r
+                                       SysSecureLog(NID_UI_IME, "The package ID is %s.", reinterpret_cast<char*>(pXmlChar));\r
                                        xmlFree(pXmlChar);\r
                                }\r
                        }\r
@@ -177,7 +177,7 @@ _InputMethodManagerImpl::ParseInputMethodInfo(const xmlNodePtr pXmlRootElement,
                                if (pXmlChar)\r
                                {\r
                                        pInputMethodInfoImpl->SetUuid(reinterpret_cast<char*>(pXmlChar));\r
-                                       SysLog(NID_UI_IME, "The UUID is %s.", reinterpret_cast<char*>(pXmlChar));\r
+                                       SysSecureLog(NID_UI_IME, "The UUID is %s.", reinterpret_cast<char*>(pXmlChar));\r
                                        xmlFree(pXmlChar);\r
                                }\r
                        }\r
@@ -192,7 +192,7 @@ _InputMethodManagerImpl::ParseInputMethodInfo(const xmlNodePtr pXmlRootElement,
                                        pInputMethodInfoImpl->SetAppId(appId);\r
 \r
                                        pInputMethodInfoImpl->SetName(String(reinterpret_cast<char*>(pXmlChar)));\r
-                                       SysLog(NID_UI_IME, "The name is %s.", reinterpret_cast<char*>(pXmlChar));\r
+                                       SysSecureLog(NID_UI_IME, "The name is %s.", reinterpret_cast<char*>(pXmlChar));\r
                                        xmlFree(pXmlChar);\r
                                }\r
                        }\r
@@ -241,7 +241,7 @@ _InputMethodManagerImpl::PackageManagerAppIdHandler(pkgmgrinfo_appinfo_h handle,
        r = pInputMethodAppIdList->Add(pAppId);\r
        SysTryCatch(NID_UI_IME, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));\r
 \r
-       SysLog(NID_UI_IME, "The application ID of the input method installed in the system is %s.", appId);\r
+       SysSecureLog(NID_UI_IME, "The application ID of the input method installed in the system is %s.", appId);\r
 \r
        return 0;\r
 \r
@@ -384,7 +384,7 @@ _InputMethodManagerImpl::GetInputMethodInfoListN(void) const
        r = pInputMethodInfoImpl->SetLanguageList(*(pLanguageList.get()));\r
        SysTryCatch(NID_UI_IME, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));\r
 \r
-       SysLog(NID_UI_IME, "The UUID of the preloaded IME application is %s.", dpList[preloadedImeIndex]);\r
+       SysSecureLog(NID_UI_IME, "The UUID of the preloaded IME application is %s.", dpList[preloadedImeIndex]);\r
 \r
        r = pInputMethodInfoList->Add(pInputMethodInfo);\r
        SysTryCatch(NID_UI_IME, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));\r
@@ -447,7 +447,7 @@ _InputMethodManagerImpl::SetInputMethod(const AppId& id)
        result r = E_SUCCESS;\r
 \r
        std::unique_ptr<char[]> pLog(_StringConverter::CopyToCharArrayN(id.GetPointer()));\r
-       SysLog(NID_UI_IME, "The application ID is %s.", pLog.get());\r
+       SysSecureLog(NID_UI_IME, "The application ID is %s.", pLog.get());\r
 \r
        if (id == _PRELOADED_IME_APPID)\r
        {\r