ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/xmltv_parser/trunk/xmltv_parser/main.cs
(Generate patch)

Comparing trunk/xmltv_parser/main.cs (file contents):
Revision 13 by william, Thu Mar 7 07:58:47 2013 UTC vs.
Revision 14 by william, Thu Mar 7 09:05:18 2013 UTC

--- trunk/xmltv_parser/main.cs	2013/03/07 07:58:47	13
+++ trunk/xmltv_parser/main.cs	2013/03/07 09:05:18	14
@@ -17,8 +17,7 @@ namespace xmltv_parser
             InitializeComponent();
             string log_path = Application.StartupPath;
             string log_filename = string.Format("{0}.log", typeof(main).Assembly.GetName().Name);
-            gLog.Initialize(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All);
-            //gLog.Info.WriteLine("main");
+            gLog.Initialize(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All);            
         }
 
         private void Form1_Load(object sender, EventArgs e)
@@ -27,6 +26,7 @@ namespace xmltv_parser
         }
         private void Form1_Shown(object sender, EventArgs e)
         {
+            gLog.Log.Debug.WriteLine("Logged from main");
             var xmltv = XMLTV.CreateLoader("20130307_continuum_schedule.xml");
             //XMLTV.Test(xmltv);
         }