forked from dylanbeattie/OAuthStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
28 lines (27 loc) · 1.05 KB
/
Program.cs
File metadata and controls
28 lines (27 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using log4net;
namespace OAuthStack.DemoClient {
static class Program {
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main() {
log4net.Config.XmlConfigurator.Configure();
var log = LogManager.GetLogger(typeof(Program));
log.Warn("Warn!");
log.Error("Error!");
log.Debug("Debug");
LogManager.GetLogger("DotNetOpenAuth").Debug("Testing Debug logging...");
LogManager.GetLogger("DotNetOpenAuth").Warn("Testing Warn logging...");
LogManager.GetLogger("DotNetOpenAuth").Info("Testing Info logging...");
LogManager.GetLogger("DotNetOpenAuth").Error("Testing Error logging...");
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}