先using using NLog;. 2.產生拿來用的物件private static Logger log = NLog.LogManager.GetCurrentClassLogger();. 3.使用log.Error("test"); ...
確定! 回上一頁