Skip to content

Commit

Permalink
More robust console printing
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKahr committed Nov 7, 2023
1 parent 192fafe commit dc92631
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using UnityEngine;
using UnityEditor;

Expand Down Expand Up @@ -29,7 +30,7 @@ private static void Application_logMessageReceived(string condition, string stac
prefix = "error";
break;
}
Debug.Log($"::{prefix} ::{condition}\n{stackTrace}");
Console.WriteLine($"{Environment.NewLine}::{prefix} ::{condition}{Environent.NewLine}{stackTrace}");
}
}
}

0 comments on commit dc92631

Please sign in to comment.