Tracy BlueScreen handler for Monolog
PHP
Pull request Compare This branch is 85 commits ahead, 23 commits behind pavelkucera:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
src
tests
.gitattributes
.gitignore
.travis.yml
LICENSE.md
README.md
appveyor.yml
build.xml
composer.json

README.md

Tracy BlueScreen handler for Monolog

Build Status Windows Build Status Code Coverage SensioLabsInsight Status Latest Stable Version Composer Downloads Dependency Status HHVM Status License MIT, GPL-2, GPL-3

Sponzored by Shipito LLC.

Installation

Using Composer:

$ composer require nella/monolog-tracy

Blue Screen Handler

Converts your exception reports into beautiful and clear html files using Tracy.

Uncaught exception rendered by Tracy

Tell me how!

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(),
));