
Log4Net
Farmwang
博采众长,兼收并蓄!
展开
-
Asp.net Log4net 无法显示Log
log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo(Server.MapPath("~/log4net.config")));需要添加原创 2018-06-22 09:40:40 · 297 阅读 · 0 评论 -
C# Console use Log4net
static void Main(string[] args) { log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo( "./log4net.config")); log.Info("fffffffffffffff"); s...原创 2018-06-22 15:21:22 · 598 阅读 · 0 评论