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

Comparing trunk/libxmltv/Core/xmltv_logger.cs (file contents):
Revision 15 by william, Thu Mar 7 09:05:18 2013 UTC vs.
Revision 16 by william, Thu Mar 7 09:26:43 2013 UTC

# Line 7 | Line 7 | using Enterprise.Logging;
7  
8   namespace libxmltv.Core
9   {
10 <    public class xmltv_logger
10 >    public class XMLTV_LOGGER
11      {
12          public static void Initialize()
13          {
14              try
15              {
16                  string log_path = Application.StartupPath;
17 <                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);
17 >                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);
19              }
20              catch (Exception)
21              {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines