2016-11-19 21:00:13 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2016-11-19 21:35:33 +00:00
|
|
|
|
using log4net;
|
2016-11-19 21:00:13 +00:00
|
|
|
|
|
2016-11-20 15:24:39 +00:00
|
|
|
|
namespace NavScm.TestHost
|
2016-11-19 21:00:13 +00:00
|
|
|
|
{
|
|
|
|
|
class Program
|
|
|
|
|
{
|
2016-11-19 21:35:33 +00:00
|
|
|
|
private static readonly ILog log = LogManager.GetLogger(typeof(Program));
|
|
|
|
|
|
2016-11-19 21:00:13 +00:00
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
2016-11-19 21:35:33 +00:00
|
|
|
|
log4net.Config.XmlConfigurator.ConfigureAndWatch(new System.IO.FileInfo("Config Files\\log4net.config"));
|
|
|
|
|
|
|
|
|
|
log.Info("Starting up...");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
log.Info("Shutting down...");
|
|
|
|
|
|
|
|
|
|
Console.ReadLine();
|
2016-11-19 21:00:13 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|