Update Log.cs

This commit is contained in:
AndnixSH
2023-11-06 16:50:19 +01:00
parent db8be4b428
commit 8513ab4788
+2 -14
View File
@@ -12,17 +12,6 @@ namespace APKToolGUI.Utils
/// </summary>
public static class Log
{
#region direct logs
/// <summary>
/// log message with level VERY VERBOSE (may be disabled)
/// </summary>
/// <param name="s">the string to log</param>
public static void vv(string s)
{
if (!Settings.Default.DebugMode) return;
FormMain.Instance.ToLog(ApktoolEventType.None, s);
}
/// <summary>
/// log message with level VERBOSE (may be disabled)
/// </summary>
@@ -37,10 +26,10 @@ namespace APKToolGUI.Utils
/// log message with level DEBUG (may be disabled)
/// </summary>
/// <param name="s">the string to log</param>
public static void d(string s)
public static void d(ApktoolEventType eventType, string s)
{
if (!Settings.Default.DebugMode) return;
FormMain.Instance.ToLog(ApktoolEventType.None, s);
FormMain.Instance.ToLog(eventType, s);
}
/// <summary>
@@ -69,6 +58,5 @@ namespace APKToolGUI.Utils
{
FormMain.Instance.ToLog(ApktoolEventType.Error, s);
}
#endregion
}
}