Skip to content

Debug backtrace

B0Bka edited this page Mar 30, 2021 · 3 revisions

$debug = debug_backtrace(); foreach($debug as $key => $d){ unset($debug[$key]['args']); unset($debug[$key]['object']); } \Bitrix\Main\Diag\Debug::writeToFile($debug,"step2 ".date('d-m-Y H:i:s'),'/test/log_parser.txt');

Clone this wiki locally