Вот моя конфигурация nLog
Код: Выделить всё
Код: Выделить всё
private static Logger log = LogManager.GetCurrentClassLogger();
...
log.Debug("Some debug info");
Подробнее здесь: https://stackoverflow.com/questions/980 ... g-log-data
Код: Выделить всё
Код: Выделить всё
private static Logger log = LogManager.GetCurrentClassLogger();
...
log.Debug("Some debug info");