How to get caller name from a module (in strict mode) #4785
Unanswered
maciej-wakula-opuscapita
asked this question in
Q&A
Replies: 0 comments 2 replies
-
I think your options are pretty much limited to:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goal: Obtain caller name for instrumentation purpose from utility/framework.
Expected example:
It would be nice to print something like
Problems:
Commonly used solutions:
Anyone any ideas how we could improve this to get the name of actual caller of our function without hacks like new error stack?
Beta Was this translation helpful? Give feedback.
All reactions