/[EmuXPortal]/branches/mono/EmuXPortal/Form1.cs
ViewVC logotype

Diff of /branches/mono/EmuXPortal/Form1.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 275 by william, Thu Mar 17 08:45:01 2016 UTC revision 283 by william, Wed Aug 17 01:24:40 2016 UTC
# Line 75  namespace EmuXPortal Line 75  namespace EmuXPortal
75              #region logging support              #region logging support
76              string log_path = Application.StartupPath;              string log_path = Application.StartupPath;
77              string log_filename = string.Format("{0}.log", typeof(Form1).Assembly.GetName().Name);              string log_filename = string.Format("{0}.log", typeof(Form1).Assembly.GetName().Name);
78              FileInfo log_file = new FileInfo(string.Format(@"{0}\{1}", log_path, log_filename));                          FileInfo log_file = new FileInfo(OSInfo.FormatPath(string.Format(@"{0}\{1}", log_path, log_filename)));
79    
80              gLog.CreateLog(log_file.FullName, true, LogLevel.kLogLevel_All_NoProgress, new EventHandler<LoggerOnFlushEventArgs>(Log_OnFlush));              gLog.CreateLog(log_file.Name, true, LogLevel.kLogLevel_All_NoProgress, new EventHandler<LoggerOnFlushEventArgs>(Log_OnFlush));
81  #if DEBUG  #if DEBUG
82              LogLevel gLevel = gLog.LogLevel;              LogLevel gLevel = gLog.LogLevel;
83  #if DISABLE_DEBUG_MODE_KLOGLEVEL_VERBOSE_DEBUG  #if DISABLE_DEBUG_MODE_KLOGLEVEL_VERBOSE_DEBUG

Legend:
Removed from v.275  
changed lines
  Added in v.283

  ViewVC Help
Powered by ViewVC 1.1.22