1 using log4net; 2 3 namespace ZPLib.Helper 4 { 5 public static class LogHelper 6 { 7 public static readonly ILog Log = LogManager.GetLogger("AppLog"); 8 } 9 }
C# log4net
原文:https://www.cnblogs.com/CZPSLOVE/p/15184581.html