以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 DTD/XML Schema 』 (http://bbs.xml.org.cn/list.asp?boardid=23) ---- can't log, please jim Answer (http://bbs.xml.org.cn/dispbbs.asp?boardid=23&rootid=&id=54371) |
-- 作者:f1029303 -- 发布时间:10/25/2007 7:57:00 PM -- can't log, please jim Answer Appcode/httphandler.cs using System; public class HttpHandler : IHttpHandler string CharSet = ctx.Request.Headers.Get("CharSet"); // if need GUnzip then ... //get the config handle Type ( save to file or call application function) //get current folder Logger.LogInfo("MsgCatg:" + MsgCatg + " " + "DocType:" + DocType + " " + "DocID:" + DocID + "" + "FileName:" + FileName); AppTalkMessage ATMsg = new AppTalkMessage(); MessageChannel MsgSender = new MessageChannel(); }
[此贴子已经被作者于2007-10-26 20:32:29编辑过]
|
-- 作者:f1029303 -- 发布时间:10/26/2007 8:35:00 PM -- // global.asax // log4net.Config.XmlConfigurator.Configure(); Useful ????? <%@ Application Language="C#" %> <script runat="server"> void Application_Start(object sender, EventArgs e) } } } void Session_Start(object sender, EventArgs e) } void Session_End(object sender, EventArgs e) } |
-- 作者:f1029303 -- 发布时间:10/26/2007 8:40:00 PM -- // default.aspx.cs // Logger.LogInfo(AppDomain.CurrentDomain.BaseDirectory+"test information"); can't log //step 1 //Choose step 1 or step 2 public partial class _Default : System.Web.UI.Page |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
70.313ms |