public void SetUp()
        {
            fileGuid = Guid.NewGuid();
            if (File.Exists(GetFilePath()))
            {
                File.Delete(GetFilePath());
            }

            appender                   = new AsynchronousRollingFileAppender();
            appender.Threshold         = ErrorLevel;
            appender.File              = GetFilePath();
            appender.Layout            = new PatternLayout("%d|%-5level|%logger| %message %exception%n");
            appender.StaticLogFileName = true;
            appender.AppendToFile      = true;
            appender.ActivateOptions();

            rep = LogManager.CreateRepository(Guid.NewGuid().ToString());
            BasicConfigurator.Configure(rep, appender);
        }
        public void SetUp()
        {
            _fileFolderPath = TestHelper.MapPathForTest("~/LogTesting/");

            _fileGuid = Guid.NewGuid();
            if (File.Exists(GetFilePath()))
            {
                File.Delete(GetFilePath());
            }

            _appender                   = new AsynchronousRollingFileAppender();
            _appender.Threshold         = _errorLevel;
            _appender.File              = GetFilePath();
            _appender.Layout            = new PatternLayout("%d|%-5level|%logger| %message %exception%n");
            _appender.StaticLogFileName = true;
            _appender.AppendToFile      = true;
            _appender.ActivateOptions();

            _rep = LogManager.CreateRepository(Guid.NewGuid().ToString());
            BasicConfigurator.Configure(_rep, _appender);
        }
		public void SetUp()
		{
			_fileFolderPath = TestHelper.MapPathForTest("~/LogTesting/");

			_fileGuid = Guid.NewGuid();
			if (File.Exists(GetFilePath()))
			{
				File.Delete(GetFilePath());
			}

			_appender = new AsynchronousRollingFileAppender();
			_appender.Threshold = _errorLevel;
			_appender.File = GetFilePath();
			_appender.Layout = new PatternLayout("%d|%-5level|%logger| %message %exception%n");
			_appender.StaticLogFileName = true;
			_appender.AppendToFile = true;
			_appender.ActivateOptions();

			_rep = LogManager.CreateRepository(Guid.NewGuid().ToString());
			BasicConfigurator.Configure(_rep, _appender);
		}