Skip to content

dayrl/LogUtil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogUtil

How To Use

in you Global.asax.cs Application_Start Method add the code below protected void Application_Start() { //todo other init stuff //start the log thread APILogManager.Instance.Initialize(Server.MapPath("/config/LogConfig.xml"), Server.MapPath("/log/")); APILog.Kernel.LogError("Failed to initialize log manager"); }

then exit:

protected void Application_End(object sender, EventArgs e) { APILog.Kernel.LogInfo("Application_End"); APILogManager.Instance.Exit(); }

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors