/[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 14 by william, Thu Mar 7 09:05:18 2013 UTC revision 46 by william, Fri Mar 8 04:01:25 2013 UTC
# Line 7  using Enterprise.Logging; Line 7  using Enterprise.Logging;
7    
8  namespace libxmltv.Core  namespace libxmltv.Core
9  {  {
10      public class xmltv_logger      internal class xmltv_logger
11      {      {
12          public static void Initialize()          public static void Initialize()
13          {          {
# 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.Initialize(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);
19              }              }
20              catch (Exception)              catch (Exception)
21              {              {

Legend:
Removed from v.14  
changed lines
  Added in v.46

  ViewVC Help
Powered by ViewVC 1.1.22