Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.0.8
-
None
-
None
Description
If you use a PatternLayout key such as %file or %method and use any of the ILogExtensions methods, the file and method (and any other info which should be showing the caller's stack frame) which are output are that of the ILogExtensions extension method rather than of the stack frame above it (the code that called ILogExtensions).
I could supply code to fix this via a pull request which would involve calling the lower level log method directly with the appropriate stack boundary type.