Skip to content

Instantly share code, notes, and snippets.

@vanilla-thunder
Created February 5, 2014 09:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vanilla-thunder/8820275 to your computer and use it in GitHub Desktop.
Save vanilla-thunder/8820275 to your computer and use it in GitHub Desktop.
[OXID eShop] custom log + function backtrace
$e = new Exception();
oxRegistry::getUtils()->writeToLog(var_export($aData, true)."\n","yolo.log");
oxRegistry::getUtils()->writeToLog($e->getTraceAsString()."\n------------------------------\n","yolo.log");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment