Created
January 15, 2019 09:08
-
-
Save berliozd/7236f79e4de474dabe0c23fc7c8b7483 to your computer and use it in GitHub Desktop.
Log PHP trace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Mage::log('====== CALLING : ' . __CLASS__ . '->' . __FUNCTION__); | |
array_map(function ($trace) { | |
Mage::log('- ' . $trace['class'] . ' - FUNCTION : ' . $trace['function'] . ' - LINE : ' . $trace['line']); | |
}, debug_backtrace()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment