corp-app/CORP-MAUI/DebugCheck.cs

21 lines
1.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Diagnostics;
namespace CORP_MAUI;
public static class DebugCheck
{
public static void PrintDebugStatus()
{
#if DEBUG
Trace.WriteLine("╔══════════════════════════════════════════════════════════════════════════════════╗");
Trace.WriteLine("║ ✅ DEBUG СИМВОЛ ОПРЕДЕЛЕН! Режим отладки АКТИВЕН! ║");
Trace.WriteLine("╚═════════════════════════════════════════════════════════════════════════════════╝");
#else
Trace.WriteLine("╔═════════════════════════════════════════════════════════════════════════════════╗");
Trace.WriteLine("║ ❌ DEBUG СИМВОЛ НЕ ОПРЕДЕЛЕН! Режим отладки НЕ АКТИВЕН! ║");
Trace.WriteLine("╚══════════════════════════════════════════════════════════════════════════════════╝");
#endif
}
}