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

Added an abstract MailHandler class

This commit is contained in:
Gyula Sallai
2011-04-22 17:41:10 +02:00
parent 3b54f13e72
commit 1279194192
3 changed files with 195 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
*/