首页 > 代码库 > FCL 系列 - 5. FCL.Log.dll

FCL 系列 - 5. FCL.Log.dll

日志组件:

 

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