namespace LibTVRefCommonTizen.Ports
{
/// <summary>
- /// Platform dependent implementation for the Logging and the Popup displaying.
- /// DbgPort is implementing IDebuggingAPIs which is defined in Calculator shared project.
+ /// Platform dependent implementation for the Logging and the Popup displaying
+ /// DbgPort is implementing IDebuggingAPIs which is defined in Calculator shared project
/// </summary>
/// <remarks>
/// Please refer to Xamarin Dependency Service
public class DbgPort : IDebuggingAPIs
{
/// <summary>
- /// A TV Home Windows reference. This is used to display a Dialog</summary>
+ /// A TV Home Windows reference
+ /// This is used to display a Dialog
+ /// </summary>
public static Xamarin.Forms.Platform.Tizen.Native.Window MainWindow
{
set;
}
/// <summary>
- /// A Logging Tag. </summary>
+ /// A Logging Tag
+ /// </summary>
public static string TAG = "home";
public static string Prefix
}
/// <summary>
- /// A method displays a debugging log. </summary>
- /// <param name="message"> A debugging message.</param>
+ /// Displays a log message which developer want to check
+ /// </summary>
+ /// <param name="message"> A debugging message </param>
+ /// <param name="file"> A file name that debugging message is exist </param>
+ /// <param name="func"> A function name that debugging message is exist </param>
+ /// <param name="line"> A line number that debugging message is exist </param>
public void Dbg(string message, String file, String func, Int32 line)
{
D(message, file, func, line);
}
/// <summary>
- /// A method displays a error log. </summary>
- /// <param name="message"> A error message.</param>
+ /// </summary>
+ /// <param name="message"> A debugging message </param>
+ /// <param name="file"> A file name that debugging message is exist </param>
+ /// <param name="func"> A function name that debugging message is exist </param>
+ /// <param name="line"> A line number that debugging message is exist </param>
public void Err(string message, String file, String func, Int32 line)
{
E(message, file, func, line);
}
/// <summary>
- /// A method displays a dialog with a given message. </summary>
- /// <param name="message"> A debugging message.</param>
+ ///Displays a dialog with a given message
+ /// </summary>
+ /// <param name="message"> A debugging message </param>
public void Popup(string message)
{
if (MainWindow == null)
toast.Show();
}
+ /// <summary>
+ /// Displays a log message which developer want to check
+ /// </summary>
+ /// <param name="message"> A debugging message </param>
+ /// <param name="file"> A file name that debugging message is exist </param>
+ /// <param name="func"> A function name that debugging message is exist </param>
+ /// <param name="line"> A line number that debugging message is exist </param>
public static void D(string message, [CallerFilePath] System.String file = "", [CallerMemberName] System.String func = "", [CallerLineNumber] System.Int32 line = 0)
{
Log.Debug(TAG, Prefix + ", " + message, file, func, line);
}
+ /// <summary>
+ /// Displays a error log message
+ /// </summary>
+ /// <param name="message"> A debugging message </param>
+ /// <param name="file"> A file name that debugging message is exist </param>
+ /// <param name="func"> A function name that debugging message is exist </param>
+ /// <param name="line"> A line number that debugging message is exist </param>
public static void E(string message, [CallerFilePath] System.String file = "", [CallerMemberName] System.String func = "", [CallerLineNumber] System.Int32 line = 0)
{
Log.Error(TAG, Prefix + ", " + message, file, func, line);
}
-
}
}
\ No newline at end of file