Detailed debugging was modified II
This commit is contained in:
parent
e1a420053c
commit
8f5fd98afd
10
DDebug.cs
10
DDebug.cs
@ -1,15 +1,19 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using static WindowsPhoneSpeedyBlupi.EnvClasses;
|
|
||||||
|
|
||||||
namespace WindowsPhoneSpeedyBlupi
|
namespace WindowsPhoneSpeedyBlupi
|
||||||
{
|
{
|
||||||
public static class DDebug
|
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)
|
public static void WriteLine(String msg)
|
||||||
{
|
{
|
||||||
if (DETAILED_DEBUGGING)
|
if (detailedDebugging)
|
||||||
{
|
{
|
||||||
Debug.WriteLine(msg);
|
Debug.WriteLine(msg);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user