Skip to content

Instantly share code, notes, and snippets.

View convenient's full-sized avatar

Luke Rodgers convenient

View GitHub Profile
@convenient
convenient / README.md
Last active February 4, 2019 11:44
Magento 2 Commerce patch files for staging unit test date bug
@convenient
convenient / gist:543c9752384a1fe005dc4ab60c3732bd
Last active October 1, 2021 09:59
Add stacktrace to all magento logs

vendor/magento/framework/Logger/Monolog.php

    public function addRecord($level, $message, array $context = [])
    {
        $context[uniqid('trace')] = (new \Exception())->getTraceAsString();