mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-10 23:24:02 +02:00
Fix up mongo db handler and add tests
This commit is contained in:
@@ -16,11 +16,11 @@ class TestCase extends \PHPUnit_Framework_TestCase
|
||||
/**
|
||||
* @return array Record
|
||||
*/
|
||||
protected function getRecord($level = Logger::WARNING, $message = 'test')
|
||||
protected function getRecord($level = Logger::WARNING, $message = 'test', $context = array())
|
||||
{
|
||||
return array(
|
||||
'message' => $message,
|
||||
'context' => array(),
|
||||
'context' => $context,
|
||||
'level' => $level,
|
||||
'level_name' => Logger::getLevelName($level),
|
||||
'channel' => 'test',
|
||||
|
Reference in New Issue
Block a user