More robust console printing

This commit is contained in:
Andrew Kahr 2023-11-06 23:44:14 -08:00
parent 192fafe45b
commit dc92631509

View File

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