/[xmltv_parser]/trunk/libxmltv/Core/XMLTVSource.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/XMLTVSource.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/libxmltv/Core/XMLTVSource.cs	2013/03/09 10:27:39	73
+++ trunk/libxmltv/Core/XMLTVSource.cs	2013/03/09 11:06:39	74
@@ -35,9 +35,9 @@
         }
         public XMLTVSource(XMLTVRuntimeInstance instance) : base(instance, XMLTVConstants.ROOT_ELEMENT)
         {
-            xmltv_logger.Debug.WriteLine("Creating Instance of XMLTVSource");
+            xmltv_logger.Verbose.Debug.WriteLine("Creating Instance of XMLTVSource");
             Create();
-            xmltv_logger.Debug.WriteLine("Created Instance of XMLTVSource '{0}'", SourceName);
+            xmltv_logger.Verbose.Debug.WriteLine("Created Instance of XMLTVSource '{0}'", SourceName);
             UpdateInstance();
         }
 
@@ -53,20 +53,20 @@
                     found_field = true;
                     try
                     {
-                        xmltv_logger.Debug.WriteLine("Updating instance with source information.");
+                        xmltv_logger.Verbose.Debug.WriteLine("Updating instance with source information: {0}", this.ToString());
                         field.SetValue(this.GetInstance(), new List<IXMLTVSource>() { this });                        
                         break;
                     }
                     catch (Exception ex)
                     {
-                        xmltv_logger.Error.WriteLine("Unable to update instance with source information.");
-                        xmltv_logger.Error.WriteLine(ex.ToString());
+                        xmltv_logger.Verbose.Error.WriteLine("Unable to update instance with source information.");
+                        xmltv_logger.Verbose.Error.WriteLine(ex.ToString());
                     }
                 }
             }
             if (!found_field)
             {
-                xmltv_logger.Error.WriteLine("Unable to update instance with source information.");
+                xmltv_logger.Verbose.Error.WriteLine("Unable to update instance with source information.");
             }
         }
 

 

  ViewVC Help
Powered by ViewVC 1.1.22