Merge "Add log to leave string length" into tizen
[platform/core/uifw/tts.git] / client / tts.c
index abf38e1..1637606 100644 (file)
@@ -1408,7 +1408,7 @@ int tts_add_text(tts_h tts, const char* text, const char* language, int voice_ty
        } else {
                SLOG(LOG_DEBUG, TAG_TTSC, "[DEBUG] g_max_text_size is %d", g_max_text_size);
                if (g_max_text_size < strlen(text) || strlen(text) <= 0) {
-                       SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Input text size is invalid.");
+                       SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Input text size is invalid. current text_size(%d)", strlen(text));
                        SLOG(LOG_DEBUG, TAG_TTSC, "@@@");
                        return TTS_ERROR_INVALID_PARAMETER;
                }