[NUI] Fix ObjectDump can't output logs (#1964)
authorXianbing Teng <xb.teng@samsung.com>
Wed, 23 Sep 2020 02:36:10 +0000 (10:36 +0800)
committerGitHub <noreply@github.com>
Wed, 23 Sep 2020 02:36:10 +0000 (11:36 +0900)
Co-authored-by: Xianbing Teng <reformed_beginner@outlook.com>
Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
src/Tizen.NUI/src/public/BaseComponents/ViewPublicMethods.cs

index f1bb920..d73a0d4 100755 (executable)
@@ -621,7 +621,7 @@ namespace Tizen.NUI.BaseComponents
                 {
                     if (null != property && property.CanRead)
                     {
-                        Console.WriteLine($"{type.Name} {property.Name} ({property.PropertyType.Name}): {property.GetValueString(this, property.PropertyType)}");
+                        Tizen.Log.Fatal("NUI", $"{type.Name} {property.Name} ({property.PropertyType.Name}): {property.GetValueString(this, property.PropertyType)}");
                     }
                 }
                 return;