More robust console printing

pull/590/head
Andrew Kahr 2023-11-06 23:44:14 -08:00
parent 192fafe45b
commit dc92631509
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
using System;
using UnityEngine; using UnityEngine;
using UnityEditor; using UnityEditor;
@ -29,7 +30,7 @@ namespace UnityBuilderAction.Reporting
prefix = "error"; prefix = "error";
break; break;
} }
Debug.Log($"::{prefix} ::{condition}\n{stackTrace}"); Console.WriteLine($"{Environment.NewLine}::{prefix} ::{condition}{Environent.NewLine}{stackTrace}");
} }
} }
} }