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

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

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

--- trunk/libxmltv/Core/XMLTV_LOADER.cs	2013/03/07 05:48:51	11
+++ trunk/libxmltv/Core/XMLTV_LOADER.cs	2013/03/07 09:05:18	14
@@ -4,6 +4,7 @@
 using System.Text;
 using libxmltv.Interfaces;
 using System.IO;
+using Enterprise.Logging;
 
 namespace libxmltv.Core
 {
@@ -14,6 +15,8 @@
     {
         public static object CreateLoader(string xml_file)
         {
+            xmltv_logger.Initialize();
+            xmltv_logger.Log.Debug.WriteLine("Logged from XMLTV.CreateLoader");
             XMLTV_LOADER loader = new XMLTV_LOADER(xml_file);
             return loader;
         }
@@ -44,7 +47,7 @@
         private string xmlfile = string.Empty;
         public XMLTV_LOADER(string xml_file)
         {
-            xmlfile = xml_file;
+            xmlfile = xml_file;            
         }
         #region IXMLTV_LOADER
         public FileInfo XmlFile { get { return new FileInfo(xmlfile); } }

 

  ViewVC Help
Powered by ViewVC 1.1.22