I need it to log messages in log4perl as if they were logged from totally different module...
I don't know your larger background, and I can't answer your question, but want to point out that when parts of your software is lying to other parts of the software, that's a strong indication that there's a larger problem in the design of your code.
Maybe logging is abused for something it was never meant to? Or maybe it's really an XY Problem?
Also, would you care to provide more background information about why this is necessary? I'm really curious.
In reply to Re: How to "disguise" caller
by moritz
in thread How to "disguise" caller
by menth0l
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |