summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyBinding.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyBinding.cs b/CSharp/Ivy/IvyPPC/IvyBinding.cs
index 92cea2f..664d432 100644
--- a/CSharp/Ivy/IvyPPC/IvyBinding.cs
+++ b/CSharp/Ivy/IvyPPC/IvyBinding.cs
@@ -2,6 +2,7 @@ using System;
using System.Collections;
using System.Collections.Specialized;
using System.Text.RegularExpressions;
+using System.Diagnostics;
namespace IvyBus
{
@@ -76,7 +77,7 @@ namespace IvyBus
args_values[arg[0]] = arg[1];
else
{
- Console.Error.WriteLine("abnormally Formed message expected 'msg champ=valeur champ=valeur....' :" + message);
+ traceDebug("abnormally Formed message expected 'msg champ=valeur champ=valeur....' :" + message);
}
}
@@ -97,6 +98,10 @@ namespace IvyBus
}
return args;
}
-
+ [Conditional("DEBUG")]
+ private static void traceDebug(string s)
+ {
+ Trace.WriteLine("-->IvyBindingSimple<-- " + s);
+ }
}
}