/[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

revision 55 by william, Fri Mar 8 10:19:32 2013 UTC revision 59 by william, Fri Mar 8 13:40:32 2013 UTC
# Line 15  namespace libxmltv.Core Line 15  namespace libxmltv.Core
15              {              {
16                  string log_path = Application.StartupPath;                  string log_path = Application.StartupPath;
17                  string log_filename = string.Format("{0}.log", typeof(xmltv_logger).Assembly.GetName().Name);                  string log_filename = string.Format("{0}.log", typeof(xmltv_logger).Assembly.GetName().Name);
18                  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);
19              }              }
20              catch (Exception)              catch (Exception)
21              {              {
# Line 32  namespace libxmltv.Core Line 32  namespace libxmltv.Core
32          public static ilogger Info { get { return gLog.Info; } }          public static ilogger Info { get { return gLog.Info; } }
33          public static ilogger Warn { get { return gLog.Warn; } }          public static ilogger Warn { get { return gLog.Warn; } }
34          public static ilog Verbose { get { return gLog.Verbose; } }          public static ilog Verbose { get { return gLog.Verbose; } }
35            public static ilogger Progress { get { return gLog.Progress; } }
36            public static void ReportProgress(object sender, ReportProgressEventArgs args) { gLog.ReportProgress(sender, args); }
37      }      }
38  }  }

Legend:
Removed from v.55  
changed lines
  Added in v.59

  ViewVC Help
Powered by ViewVC 1.1.22