/[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/08 13:40:32	59
+++ trunk/libxmltv/Core/XMLTVSource.cs	2013/03/09 01:42:46	70
@@ -14,7 +14,11 @@
         private Dictionary<string, string> entries = new Dictionary<string, string>();
         internal static void CreateInstance(XMLTVRuntimeInstance xmltv)
         {
-            using (XMLTVSource g = new XMLTVSource(xmltv)) { g.instance.Source = (IXMLTVSource)g.Clone(); }
+            using (XMLTVSource g = new XMLTVSource(xmltv))
+            {
+                g.instance.Source = (IXMLTVSource)g.Clone();
+                xmltv_logger.Info.WriteLine("Parsed Source: '{0}' Created By: '{1}'", g.SourceName, g.GeneratorName);
+            }
         }
 
         private XMLTVRuntimeInstance instance;
@@ -26,7 +30,7 @@
         }
         protected XMLTVSource(XMLTVRuntimeInstance xmltv)
         {
-            xmltv_logger.Info.WriteLine("Creating Instance of XMLTVSource");
+            xmltv_logger.Debug.WriteLine("Creating Instance of XMLTVSource");
             //IXMLTV_PARSER _xmltv;
             //if (!Internals.VerifyInstance<IXMLTV_PARSER>(xmltv, out _xmltv)) { return; }
             //XMLTV_PARSER = _xmltv;

 

  ViewVC Help
Powered by ViewVC 1.1.22