Hi again,
i have found debug_backtrace() function in php that returns all
information about the current method/function called. So i want to be
able to pass the result of debug_backtrace function to my Zend_Log
somehow so it gets output in a certain format. So i can just use
$log->debug_backtrace();
in every method/function that should get debugged.
Now the question is how to best achive this ? Should i just extend
Zend/Log/Writer/Abstract.php and add the debug_backtrace() method ? Or
is there another way with events or custom formatter ?
I'm very curious about the answer.
best regards,
Steven Truppe