}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
newFontFamily = defaultFontFamily;
}
AddSystemSettingsFontTypeChanged();
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
systemSettingsFontSize = SystemSettingsFontSize.Normal;
}
newFontSizeScale = TextUtils.GetFontSizeScale(systemSettingsFontSize);
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemLanguageChanged = false;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemLanguageChanged = true;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
private void AddSystemSettingsFontSizeChanged()
{
- if (hasSystemFontSizeChanged != true)
+ if (!hasSystemFontSizeChanged)
{
try
{
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemFontSizeChanged = false;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
private void RemoveSystemSettingsFontSizeChanged()
{
- if (hasSystemFontSizeChanged == true)
+ if (hasSystemFontSizeChanged)
{
try
{
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemFontSizeChanged = true;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemFontTypeChanged = false;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemFontTypeChanged = true;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
newFontFamily = defaultFontFamily;
}
AddSystemSettingsFontTypeChanged();
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
systemSettingsFontSize = SystemSettingsFontSize.Normal;
}
newFontSizeScale = TextUtils.GetFontSizeScale(systemSettingsFontSize);
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemLanguageChanged = false;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemLanguageChanged = true;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
private void AddSystemSettingsFontSizeChanged()
{
- if (hasSystemFontSizeChanged != true)
+ if (!hasSystemFontSizeChanged)
{
try
{
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemFontSizeChanged = false;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
private void RemoveSystemSettingsFontSizeChanged()
{
- if (hasSystemFontSizeChanged == true)
+ if (hasSystemFontSizeChanged)
{
try
{
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemFontSizeChanged = true;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemFontTypeChanged = false;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemFontTypeChanged = true;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
newFontFamily = defaultFontFamily;
}
AddSystemSettingsFontTypeChanged();
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
systemSettingsFontSize = SystemSettingsFontSize.Normal;
}
newFontSizeScale = TextUtils.GetFontSizeScale(systemSettingsFontSize);
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemLanguageChanged = false;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemLanguageChanged = true;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
private void AddSystemSettingsFontSizeChanged()
{
- if (hasSystemFontSizeChanged != true)
+ if (!hasSystemFontSizeChanged)
{
try
{
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemFontSizeChanged = false;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
private void RemoveSystemSettingsFontSizeChanged()
{
- if (hasSystemFontSizeChanged == true)
+ if (hasSystemFontSizeChanged)
{
try
{
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemFontSizeChanged = true;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemFontTypeChanged = false;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}
}
catch (Exception e)
{
- Console.WriteLine("{0} Exception caught.", e);
- hasSystemFontTypeChanged = true;
+ Tizen.Log.Info("NUI", $"{e} Exception caught.\n");
}
}
}