You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
481 B
C#

5 years ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NLog;
using NLog.Fluent;
namespace NLogStudy.WebCore2.Study
{
public class NLogWrap<T> : INLogWrap<T>
{
public NLogWrap()
{
logger = NLog.LogManager.GetLogger(typeof(T).FullName);
}
public ILogger logger { get; set; }
public void Error()
{
logger.Error().Message("TESTSA");
}
}
}