summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:56:57 +0000
committerfcolin2007-02-01 09:56:57 +0000
commit79bcd9e02f79aad5e419727ad12349f37cae7499 (patch)
treed77e67df93849fee64209799052f247bdde30bdc /CSharp/Ivy/IvyPPC
parentc92d0acb53a7dbdb196e1eae8f73fc76e9885229 (diff)
downloadivy-csharp-79bcd9e02f79aad5e419727ad12349f37cae7499.zip
ivy-csharp-79bcd9e02f79aad5e419727ad12349f37cae7499.tar.gz
ivy-csharp-79bcd9e02f79aad5e419727ad12349f37cae7499.tar.bz2
ivy-csharp-79bcd9e02f79aad5e419727ad12349f37cae7499.tar.xz
Utilisateur : Fcolin Date : 6/02/06 Heure : 17:12 Archivé dans $/CSharp/Ivy/Ivy Commentaire: utilisation generale de traceDEbug et System.Diagnostics (vss 7)
Diffstat (limited to 'CSharp/Ivy/IvyPPC')
-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);
+ }
}
}