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

Remove unnecessary ErrorLogFormatter, refs #357

This commit is contained in:
Jordi Boggiano
2014-04-20 17:57:02 +02:00
parent 7503e331cb
commit e9b8649151
2 changed files with 2 additions and 22 deletions

View File

@@ -11,7 +11,7 @@
namespace Monolog\Handler;
use Monolog\Formatter\ErrorLogFormatter;
use Monolog\Formatter\LineFormatter;
use Monolog\Logger;
/**
@@ -59,7 +59,7 @@ class ErrorLogHandler extends AbstractProcessingHandler
*/
protected function getDefaultFormatter()
{
return new ErrorLogFormatter();
return new LineFormatter('[%datetime%] %channel%.%level_name%: %message% %context% %extra%');
}
/**