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

Bug in FindCallingMethodOnStackTrace wrt wrapping logger#15

Open
aloker wants to merge 2 commits into
jkowalski:masterfrom
aloker:master
Open

Bug in FindCallingMethodOnStackTrace wrt wrapping logger#15
aloker wants to merge 2 commits into
jkowalski:masterfrom
aloker:master

Conversation

@aloker

@aloker aloker commented Feb 3, 2012

Copy link
Copy Markdown

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

aloker commented Feb 3, 2012

Copy link
Copy Markdown
Author

Proposed solution added.

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

@ghost

ghost commented Sep 24, 2012

Copy link
Copy Markdown

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