Esempio n. 1
0
        public static void SetupLoggers()
        {
            ChangedLogger.FileName = ConfigurationManager.AppSettings["ChangedLogPath"];
            ChangedLogger.LogFileMode = FileMode.Create;
            ChangedLog = ChangedLogger.Instance;

            ErrorLogger.FileName = ConfigurationManager.AppSettings["ErrorLogPath"];
            ErrorLogger.LogFileMode = FileMode.Create;
            ErrorLog = ErrorLogger.Instance;

            ManualFixFileLog.FileName = ConfigurationManager.AppSettings["ManualFixLogPath"];
            ManualFixFileLog.LogFileMode = FileMode.Create;
            ManualFixLog = ManualFixFileLog.Instance;
        }
 // All loggers FileNames and FileModes should be set up prior to this
 public void SetupLoggers()
 {
     _errorLog = ErrorLogger.Instance;
     _changedLog = ChangedLogger.Instance;
 }
Esempio n. 3
0
 // All loggers FileNames and FileModes should be set up prior to this
 public void SetupLoggers()
 {
     _errorLog     = ErrorLogger.Instance;
     _manualFixLog = ManualFixFileLog.Instance;
     _changedLog   = ChangedLogger.Instance;
 }
 // All loggers FileNames and FileModes should be set up prior to this
 public void SetupLoggers()
 {
     _errorLog = ErrorLogger.Instance;
     _manualFixLog = ManualFixFileLog.Instance;
     _changedLog = ChangedLogger.Instance;
 }