display: change printf to dlog_print 87/81387/1
authortaeyoung <ty317.kim@samsung.com>
Tue, 26 Jul 2016 02:22:14 +0000 (11:22 +0900)
committertaeyoung <ty317.kim@samsung.com>
Tue, 26 Jul 2016 02:22:14 +0000 (11:22 +0900)
- dlog is used for the logging system of the Tizen.
  Thus printf is changed to dlog

Change-Id: I9587dbe98d6651c2650794984c5825069e54243a
Signed-off-by: taeyoung <ty317.kim@samsung.com>
include/display.h

index 7f369c7..d619a25 100755 (executable)
@@ -198,9 +198,9 @@ int device_display_get_state(display_state_e *state);
  *  ...
  *  result = device_display_change_state(DISPLAY_STATE_SCREEN_OFF);
  *  if( result < 0 )
- *      printf("[ERROR] return value result =%d, \n",result);
+ *      dlog_print(DLOG_ERROR, LOG_TAG, "[ERROR] return value result =%d, \n",result);
  *  else
- *      printf("[SUCCESS] return value result =%d \n",result);
+ *      dlog_print(DLOG_DEBUG, LOG_TAG, "[SUCCESS] return value result =%d \n",result);
  *  ...
  * @endcode
  */