static void Main(string[] args) { var test = new NLogTest(); test.TestNLog(); test.TestException(); }