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

--- trunk/libxmltv/Core/xmltv_logger.cs	2013/03/07 09:05:18	14
+++ trunk/libxmltv/Core/xmltv_logger.cs	2013/03/07 09:26:43	16
@@ -7,15 +7,15 @@
 
 namespace libxmltv.Core
 {
-    public class xmltv_logger
+    public class XMLTV_LOGGER
     {
         public static void Initialize()
         {
             try
             {
                 string log_path = Application.StartupPath;
-                string log_filename = string.Format("{0}.log", typeof(xmltv_logger).Assembly.GetName().Name);
-                gLog.Initialize(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All);
+                string log_filename = string.Format("{0}.log", typeof(XMLTV_LOGGER).Assembly.GetName().Name);
+                gLog.CreateLog(string.Format(@"{0}\{1}", log_path, log_filename), false, LogLevel.kLogLevel_All);
             }
             catch (Exception)
             {

 

  ViewVC Help
Powered by ViewVC 1.1.22