1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-11 07:34:12 +02:00

Merge remote branch 'thesalla/mailhandler' into mailhandler

This commit is contained in:
Christophe Coevoet
2011-05-08 14:44:25 +02:00
4 changed files with 285 additions and 0 deletions

View File

@@ -28,6 +28,20 @@ class TestCase extends \PHPUnit_Framework_TestCase
);
}
/**
* @return array
*/
protected function getMultipleRecords()
{
return array(
$this->getRecord(Logger::DEBUG, 'debug message 1'),
$this->getRecord(Logger::DEBUG, 'debug message 2'),
$this->getRecord(Logger::INFO, 'information'),
$this->getRecord(Logger::WARNING, 'warning'),
$this->getRecord(Logger::ERROR, 'error')
);
}
/**
* @return Monolog\Formatter\FormatterInterface
*/