1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 17:16:18 +02:00

Merge pull request #357 from henriquemoody/error_log

Remove new live from default error_log formatter
This commit is contained in:
Jordi Boggiano
2014-04-20 17:53:42 +02:00
2 changed files with 29 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
namespace Monolog\Handler;
use Monolog\Formatter\ErrorLogFormatter;
use Monolog\Logger;
/**
@@ -53,6 +54,14 @@ class ErrorLogHandler extends AbstractProcessingHandler
);
}
/**
* {@inheritDoc}
*/
protected function getDefaultFormatter()
{
return new ErrorLogFormatter();
}
/**
* {@inheritdoc}
*/