How to get caller name from a module (in strict mode) #50041
Unanswered
maciej-wakula-opuscapita
asked this question in
General
Replies: 1 comment 1 reply
-
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
-
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