diff --git a/boilersGraphics/Helpers/AssemblyErrorLogAttribute.cs b/boilersGraphics/Helpers/AssemblyErrorLogAttribute.cs index 73b07ed8..88c8d230 100644 --- a/boilersGraphics/Helpers/AssemblyErrorLogAttribute.cs +++ b/boilersGraphics/Helpers/AssemblyErrorLogAttribute.cs @@ -1,9 +1,8 @@ -using NLog; + +#define DEBUG + using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Diagnostics; namespace boilersGraphics.Helpers { @@ -12,7 +11,7 @@ public class AssemblyErrorLogAttribute : Attribute { public AssemblyErrorLogAttribute(string log) { - Console.Error.WriteLine($"output by AssemblyErrorLogAttribute : {log}"); + Debug.Fail(log); } } }