Added hammock project to debug streaming issues
[pithos-ms-client] / trunk / Pithos.ShellExtensions / ShellExtLib.cs
index f00d9b4..b6a41f8 100644 (file)
@@ -241,7 +241,7 @@ namespace Pithos.ShellExtensions
 
         public static void MarkApproved(Guid guid, string friendlyName)
         {
-            Trace.Write(String.Format("Marking approved {0} {1}", guid, friendlyName));
+            Debug.WriteLine(String.Format("Marking approved {0} {1}", guid, friendlyName), LogCategories.Shell);
             using (RegistryKey key = Registry.LocalMachine.OpenSubKey(_approvedKey))
             {
                 // Set the default value of the key.
@@ -251,7 +251,7 @@ namespace Pithos.ShellExtensions
                 }
                 else
                 {
-                    Trace.Write("Error - failed to open key " + _approvedKey);
+                    Debug.WriteLine("Error - failed to open key " + _approvedKey,LogCategories.Shell);
                 }
             }
         }
@@ -267,7 +267,7 @@ namespace Pithos.ShellExtensions
                 }
                 else
                 {
-                    Trace.Write("Error - failed to open key " + _approvedKey);
+                    Debug.WriteLine("Error - failed to open key " + _approvedKey, LogCategories.Shell);
                 }
             }
         }