Sets all unnessecery Debug.console messages in JsonTosimpl classes to level 1

Warnings and errors remain at level 0
This commit is contained in:
JTA
2017-06-05 09:35:51 -04:00
parent 9a597ee1e0
commit 72d7ea338a
10 changed files with 19 additions and 18 deletions

View File

@@ -18,6 +18,7 @@ namespace PepperDash.Core.JsonToSimpl
/// master, this will fail
/// </summary>
/// <param name="master">New master to add</param>
///
public static void AddMaster(JsonToSimplMaster master)
{
if (master == null)
@@ -26,7 +27,7 @@ namespace PepperDash.Core.JsonToSimpl
if (string.IsNullOrEmpty(master.UniqueID))
throw new InvalidOperationException("JSON Master cannot be added with a null UniqueId");
Debug.Console(0, "JSON Global adding master {0}", master.UniqueID);
Debug.Console(1, "JSON Global adding master {0}", master.UniqueID);
if (Masters.Contains(master)) return;