/[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/XMLTVLoader.cs	2013/03/08 05:20:12	49
+++ trunk/libxmltv/Core/XMLTVLoader.cs	2013/03/08 13:40:32	59
@@ -20,7 +20,7 @@
         private XMLTVRuntimeInstance instance;
         protected XMLTVLoader(string xml_file, XMLTVRuntimeInstance xmltv)
         {
-            xmltv_logger.Log.Verbose.Debug.WriteLine("Creating Instance of XMLTVLoader");
+            xmltv_logger.Info.WriteLine("Creating Instance of XMLTVLoader");
             //string _xmltv;
             //if (!Internals.VerifyInstance<string>(xmltv, out _xmltv)) { return; }
             //xmlfile = _xmltv;
@@ -36,8 +36,8 @@
 
         private void LoadXml()
         {
-            xmltv_logger.Log.Info.WriteLine("Loading XMLTV File: {0}", instance.XmlFile.Name);
-            //xmltv_logger.Log.Warn.WriteLine("XML File Loading has not been implemented yet!");
+            xmltv_logger.Info.WriteLine("Loading XMLTV File: {0}", instance.XmlFile.Name);
+            //xmltv_logger.Warn.WriteLine("XML File Loading has not been implemented yet!");
             try
             {
                 var document = XDocument.Load(instance.XmlFile.FullName);
@@ -54,8 +54,8 @@
             }
             catch (Exception ex)
             {
-                xmltv_logger.Log.Error.WriteLine("Failed to load XMLTV File: {0}", instance.XmlFile.Name);
-                xmltv_logger.Log.Error.WriteLine(ex.GetBaseException().ToString());
+                xmltv_logger.Error.WriteLine("Failed to load XMLTV File: {0}", instance.XmlFile.Name);
+                xmltv_logger.Error.WriteLine(ex.GetBaseException().ToString());
             }
         }
 

 

  ViewVC Help
Powered by ViewVC 1.1.22