--- trunk/libxmltv/Core/XMLTVLoader.cs 2013/03/08 05:20:12 49 +++ trunk/libxmltv/Core/XMLTVLoader.cs 2013/03/08 10:19:32 55 @@ -20,7 +20,7 @@ private XMLTVRuntimeInstance instance; protected XMLTVLoader(string xml_file, XMLTVRuntimeInstance xmltv) { - xmltv_logger.Log.Verbose.Debug.WriteLine("Creating Instance of XMLTVLoader"); + xmltv_logger.Verbose.Debug.WriteLine("Creating Instance of XMLTVLoader"); //string _xmltv; //if (!Internals.VerifyInstance(xmltv, out _xmltv)) { return; } //xmlfile = _xmltv; @@ -36,8 +36,8 @@ private void LoadXml() { - xmltv_logger.Log.Info.WriteLine("Loading XMLTV File: {0}", instance.XmlFile.Name); - //xmltv_logger.Log.Warn.WriteLine("XML File Loading has not been implemented yet!"); + xmltv_logger.Info.WriteLine("Loading XMLTV File: {0}", instance.XmlFile.Name); + //xmltv_logger.Warn.WriteLine("XML File Loading has not been implemented yet!"); try { var document = XDocument.Load(instance.XmlFile.FullName); @@ -54,8 +54,8 @@ } catch (Exception ex) { - xmltv_logger.Log.Error.WriteLine("Failed to load XMLTV File: {0}", instance.XmlFile.Name); - xmltv_logger.Log.Error.WriteLine(ex.GetBaseException().ToString()); + xmltv_logger.Error.WriteLine("Failed to load XMLTV File: {0}", instance.XmlFile.Name); + xmltv_logger.Error.WriteLine(ex.GetBaseException().ToString()); } }