/[RomCheater]/trunk/RomCheater.RVAScratchPad/Form1.cs
ViewVC logotype

Diff of /trunk/RomCheater.RVAScratchPad/Form1.cs

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

revision 755 by william, Thu Jun 20 20:04:53 2013 UTC revision 814 by william, Tue Apr 15 15:58:50 2014 UTC
# Line 12  using System.IO; Line 12  using System.IO;
12  using RomCheater.PluginFramework.Core;  using RomCheater.PluginFramework.Core;
13  using RomCheater.Core;  using RomCheater.Core;
14  using RomCheater.UserSettingsSupport;  using RomCheater.UserSettingsSupport;
15    using Enterprise.Logging;
16    
17  namespace RomCheater.RVAScratchPad  namespace RomCheater.RVAScratchPad
18  {  {
# Line 52  namespace RomCheater.RVAScratchPad Line 53  namespace RomCheater.RVAScratchPad
53              load_loggerflags();              load_loggerflags();
54              SetupDocks();              SetupDocks();
55              //LoggerInstance = m_LogWindow.Logwriter;              //LoggerInstance = m_LogWindow.Logwriter;
56              LoggerInstance = new LogWriter(!no_console_redirect);              LoggerInstance = new LogWriter();
57              LoggerInstance.CreateNewLog(false);              //LoggerInstance.CreateNewLog(false);
58              logger.ForceLog.Info.WriteLine("LoggingFlags = 0x{0:x4} ({1})", logger.GetLoggingFlags().Value, logger.GetLoggingFlags().Name);              //logger.ForceLog.Info.WriteLine("LoggingFlags = 0x{0:x4} ({1})", logger.GetLoggingFlags().Value, logger.GetLoggingFlags().Name);
59              load_plugins();              load_plugins();
60              if (no_console_redirect)              //if (no_console_redirect)
61                  LoggerInstance.RedirectConsoleOutput = false;                        //    LoggerInstance.RedirectConsoleOutput = false;          
62          }          }
63          private void load_loggerflags()          private void load_loggerflags()
64          {          {
65              logger.SetLoggingFlags(Logging.Properties.Settings.Default.LoggingFlags);              //logger.SetLoggingFlags(Logging.Properties.Settings.Default.LoggingFlags);
66  #if FORCE_ALL_LOGGING_FLAGS  #if FORCE_ALL_LOGGING_FLAGS
67              logger.SetLoggingFlags(loggerflags.ALL);              //logger.SetLoggingFlags(loggerflags.ALL);
68  #endif  #endif
69          }          }
70          private void load_plugins() { load_plugins(false); }          private void load_plugins() { load_plugins(false); }

Legend:
Removed from v.755  
changed lines
  Added in v.814

  ViewVC Help
Powered by ViewVC 1.1.22