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

Comparing trunk/libxmltv/Core/XMLTV_LOADER.cs (file contents):
Revision 13 by william, Thu Mar 7 05:48:51 2013 UTC vs.
Revision 14 by william, Thu Mar 7 09:05:18 2013 UTC

# Line 4 | Line 4 | using System.Linq;
4   using System.Text;
5   using libxmltv.Interfaces;
6   using System.IO;
7 + using Enterprise.Logging;
8  
9   namespace libxmltv.Core
10   {
# Line 14 | Line 15 | namespace libxmltv.Core
15      {
16          public static object CreateLoader(string xml_file)
17          {
18 +            xmltv_logger.Initialize();
19 +            xmltv_logger.Log.Debug.WriteLine("Logged from XMLTV.CreateLoader");
20              XMLTV_LOADER loader = new XMLTV_LOADER(xml_file);
21              return loader;
22          }
# Line 44 | Line 47 | namespace libxmltv.Core
47          private string xmlfile = string.Empty;
48          public XMLTV_LOADER(string xml_file)
49          {
50 <            xmlfile = xml_file;
50 >            xmlfile = xml_file;            
51          }
52          #region IXMLTV_LOADER
53          public FileInfo XmlFile { get { return new FileInfo(xmlfile); } }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines