Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Bug in FindCallingMethodOnStackTrace wrt wrapping logger #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Bug in FindCallingMethodOnStackTrace wrt wrapping logger #15

wants to merge 2 commits into from

Conversation

aloker
Copy link

@aloker aloker commented Feb 3, 2012

Added unit test that shows a bug in FindCallingMethodOnStackTrace: using a wrapper type only works if no method on a different type is present on the callstack between the wrapper type method and the NLog method.

E.g. it's not possible to get a proper stack trace when wrapping NLog 2 for Common.Logging.

I'll try to come up with a fix.

…ing a wrapper type only works if no method on a different type is present on the callstack between the wrapper type method and the NLog method.
@aloker
Copy link
Author

aloker commented Feb 3, 2012

Proposed solution added.

Issue http://nlog.codeplex.com/workitem/6737

@ghost
Copy link

ghost commented Sep 24, 2012

This has been fixed in NLog/NLog@08183ad

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant