Sponzored by Shipito LLC.
Using Composer:
$ composer require nella/monolog-tracy
Converts your exception reports into beautiful and clear html files using Tracy.
Just push the handler into the stack.
use Nella\MonologTracy\BlueScreenHandler;
use Nella\MonologTracy\Tracy\BlueScreenFactory;
use Nella\MonologTracy\Tracy\LoggerHelper;
$logger = new Monolog\Logger('channel');
$factory = new BlueScreenFactory();
$helper = new LoggerHelper(__DIR__ . '/log', $factory->create());
$handler = new BlueScreenHandler($helper);
$logger->pushHandler($handler);
… Profit!
$logger->critical('Exception occured!', array(
'exception' => new Exception(),
));