Hi Wong,
Your solution perfectly satisfies the requirement. Thanks for that.
However I am still curious to know if we can read value of core registers by any means ?
If yes, it would help us to avoid using string (for __FUNCTION__ & __FILE__).
Thanks again,
Jitendra