PHPDebugBar Adapter

This adapter sends log messages to the PHPDebugBar data collector. For more information on PHPDebugBar, see the PHPDebugBar documentation.

A simple example:

<?php
$debugbar = new \DebugBar\StandardDebugBar();
$collector = $debugbar['messages'];

$adapter = new \Vespula\Log\Adapter\DebugBar($collector);
$log = new \Vespula\Log\Log($adapter);

$log->info('My informative message');