using NLog; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TestApp { public class Utils { /// /// S /// public static Logger Log { get; private set; } static Utils() { LogManager.ReconfigExistingLoggers(); Log = LogManager.GetCurrentClassLogger(); } } }