Detailed debugging was modified II

This commit is contained in:
Robert Vokac 2025-02-01 14:50:48 +01:00
parent e1a420053c
commit 8f5fd98afd

View File

@ -1,15 +1,19 @@
using System;
using System.Diagnostics;
using static WindowsPhoneSpeedyBlupi.EnvClasses;
namespace WindowsPhoneSpeedyBlupi
{
public static class DDebug
{
private static bool DETAILED_DEBUGGING { get; set; }
private static bool detailedDebugging = false;
private static bool DetailedDebugging
{
get { return detailedDebugging; }
set { detailedDebugging = value; }
}
public static void WriteLine(String msg)
{
if (DETAILED_DEBUGGING)
if (detailedDebugging)
{
Debug.WriteLine(msg);
}