1

If you wrap NLog in another class all your stacktrace information points to the wrapper class instead of the correct place in the stack that you are interested in. How do you solve this?

BuddyJoe
  • 69,735
  • 114
  • 291
  • 466
  • possible duplicate of [Nlog Callsite information](http://stackoverflow.com/questions/5132759/nlog-callsite-information) – nemesv Sep 21 '12 at 21:07

1 Answers1

0

You have to pass wrapper's type to the Logger.Log() method. Please, look at https://stackoverflow.com/a/7486163/438760

Community
  • 1
  • 1
kolbasov
  • 1,548
  • 11
  • 15