PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Logging/Global.asax.cs

http://github.com/teamaton/toolbelt
C# | 51 lines | 36 code | 14 blank | 1 comment | 0 complexity | d6878bdeda6cf87a41a36d96b390575d MD5 | raw file
 1using System;
 2using System.Collections.Generic;
 3using System.IO;
 4using System.Linq;
 5using System.Web;
 6using System.Web.Security;
 7using System.Web.SessionState;
 8using log4net.Config;
 9
10namespace Logging
11{
12	public class Global : System.Web.HttpApplication
13	{
14
15		protected void Application_Start(object sender, EventArgs e)
16		{
17			XmlConfigurator.ConfigureAndWatch(new FileInfo(Server.MapPath("web.log4net.config")));
18			//XmlConfigurator.Configure();
19		}
20
21		protected void Session_Start(object sender, EventArgs e)
22		{
23
24		}
25
26		protected void Application_BeginRequest(object sender, EventArgs e)
27		{
28
29		}
30
31		protected void Application_AuthenticateRequest(object sender, EventArgs e)
32		{
33
34		}
35
36		protected void Application_Error(object sender, EventArgs e)
37		{
38
39		}
40
41		protected void Session_End(object sender, EventArgs e)
42		{
43
44		}
45
46		protected void Application_End(object sender, EventArgs e)
47		{
48
49		}
50	}
51}