summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:45:31 +0000
committerfcolin2007-02-01 09:45:31 +0000
commit10f395433423cd5859d77d5d6e9f71f75b80de58 (patch)
tree867ac16d91e30299423c74d620217d3821cfaa77
parent3fb81a60d335da3ea5fca8b99c83156ebe3b6894 (diff)
downloadivy-csharp-10f395433423cd5859d77d5d6e9f71f75b80de58.zip
ivy-csharp-10f395433423cd5859d77d5d6e9f71f75b80de58.tar.gz
ivy-csharp-10f395433423cd5859d77d5d6e9f71f75b80de58.tar.bz2
ivy-csharp-10f395433423cd5859d77d5d6e9f71f75b80de58.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)
-rw-r--r--CSharp/Ivy/Ivy/IvyBinding.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/CSharp/Ivy/Ivy/IvyBinding.cs b/CSharp/Ivy/Ivy/IvyBinding.cs
index 92cea2f..664d432 100644
--- a/CSharp/Ivy/Ivy/IvyBinding.cs
+++ b/CSharp/Ivy/Ivy/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);
+ }
}
}