From 8f5fd98afd3450dc9c7d3730c1b3ba0a915eb2c2 Mon Sep 17 00:00:00 2001 From: Robert Vokac Date: Sat, 1 Feb 2025 14:50:48 +0100 Subject: [PATCH] Detailed debugging was modified II --- DDebug.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/DDebug.cs b/DDebug.cs index d85d57e..ba7fc33 100644 --- a/DDebug.cs +++ b/DDebug.cs @@ -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); }