Ejemplo 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;
        }
Ejemplo n.º 2
0
 public void SetupLoggers()
 {
     ManualFixLog = ManualFixFileLog.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;
 }