Skip to content

Commit

Permalink
Cleanup some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Niezborala committed Nov 7, 2019
1 parent 6f838d6 commit 14bfdfa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Assets/Plugins/Editor/Uplift/LogHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void HandleLog(string logString, string stackTrace, LogType type)
output = logString;
stack = stackTrace;

OutputStream.WriteLine("[" + type + "]" + output);
OutputStream.WriteLine("[" + type.ToString().ToUpper() + "] " + output);
OutputStream.Flush();

if (showStackTrace)
Expand Down
4 changes: 1 addition & 3 deletions Assets/Plugins/Editor/Uplift/MenuItems.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,10 @@ private static void CheckDependencies()
[MenuItem("Tools/Uplift/Install dependencies (as specified in lockfile)", false, 2)]
private static void InstallLockfile()
{
Debug.Log("Installing from Lockfile : ");
Debug.Log("Installing from Lockfile");
UpliftManager.ResetInstances();
UpliftManager.Instance().InstallDependencies(strategy: UpliftManager.InstallStrategy.ONLY_LOCKFILE);

Debug.Log("-> Resfreshing AssetDatabase");
AssetDatabase.Refresh();
}

Expand All @@ -108,7 +107,6 @@ private static void InstallDependencies()
UpliftManager.ResetInstances();
UpliftManager.Instance().InstallDependencies(strategy: UpliftManager.InstallStrategy.INCOMPLETE_LOCKFILE);

Debug.Log("-> Resfreshing AssetDatabase");
AssetDatabase.Refresh();
}

Expand Down
1 change: 0 additions & 1 deletion Assets/Plugins/Editor/Uplift/UpliftManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public static UpliftManager Instance()

public static void ResetInstances()
{
Debug.Log("---> Resetting instances : ");
instance = null;
Upfile.ResetInstance();
Upbring.ResetInstance();
Expand Down

0 comments on commit 14bfdfa

Please sign in to comment.