27 lines
574 B
C#
27 lines
574 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using log4net;
|
|
|
|
namespace NAVSCM.TestHost
|
|
{
|
|
class Program
|
|
{
|
|
private static readonly ILog log = LogManager.GetLogger(typeof(Program));
|
|
|
|
static void Main(string[] args)
|
|
{
|
|
log4net.Config.XmlConfigurator.ConfigureAndWatch(new System.IO.FileInfo("Config Files\\log4net.config"));
|
|
|
|
log.Info("Starting up...");
|
|
|
|
|
|
log.Info("Shutting down...");
|
|
|
|
Console.ReadLine();
|
|
}
|
|
}
|
|
}
|