--- trunk/libxmltv/Core/xmltv_logger.cs 2013/03/07 09:05:18 14 +++ trunk/libxmltv/Core/xmltv_logger.cs 2013/03/08 01:22:03 35 @@ -7,15 +7,15 @@ using Enterprise.Logging; namespace libxmltv.Core { - public class xmltv_logger + internal 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) { |