码迷,mamicode.com
首页 > 其他好文 > 详细

FCL 系列 - 5. FCL.Log.dll

时间:2015-01-22 17:00:00      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:

日志组件:

 

1 public static WagTxtLog mTxtLog;
2 mTxtLog = WagTxtLog.Create("Log");
3 mTxtLog.Level = (WagLogLevel)255;

 

 

 

日志事例:

#---------------- FCL.Log ----------------
#Software: iisexpress
#ProcessID: 6628
#AppDomain: /LM/W3SVC/23/ROOT-4-130663822474384650
#FileName: B:\Program Files\IIS Express\iisexpress.exe
#BaseDirectory: B:\??????\WcfService\
#CurrentDirectory: B:\Program Files\IIS Express
#CommandLine: /config:"B:\Users\Administrator\Documents\IISExpress\config\applicationhost.config"  /site:"WcfService" /apppool:"Clr4IntegratedAppPool"
#ApplicationType: Console
#CLR: 4.0.30319.18444
#OS: Windows 7 Service Pack 1, Administrator, Wagwei-PC, x86
#Date: 2011-01-22
#Fields: Time ThreadID IsPoolThread ThreadName Message
Info   --> 14:37:34.813 000329 N None WCF 服务已启动

 

FCL 系列 - 5. FCL.Log.dll

标签:

原文地址:http://www.cnblogs.com/wagwei/p/4241654.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!