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

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

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

--- trunk/libxmltv/Core/xmltv_logger.cs	2013/03/08 12:20:50	58
+++ trunk/libxmltv/Core/xmltv_logger.cs	2013/03/08 13:40:32	59
@@ -15,7 +15,7 @@
             {
                 string log_path = Application.StartupPath;
                 string log_filename = string.Format("{0}.log", typeof(xmltv_logger).Assembly.GetName().Name);
-                gLog.CreateLog(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All);
+                gLog.CreateLog(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All_NoProgress);
             }
             catch (Exception)
             {
@@ -32,5 +32,7 @@
         public static ilogger Info { get { return gLog.Info; } }
         public static ilogger Warn { get { return gLog.Warn; } }
         public static ilog Verbose { get { return gLog.Verbose; } }
+        public static ilogger Progress { get { return gLog.Progress; } }
+        public static void ReportProgress(object sender, ReportProgressEventArgs args) { gLog.ReportProgress(sender, args); }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22