1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 06:06:40 +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

@@ -1,20 +0,0 @@
<?php
/*
* This file is part of the Monolog package.
*
* (c) Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Monolog\Formatter;
/**
* @author Henrique Moody <henriquemoody@gmail.com>
*/
class ErrorLogFormatter extends LineFormatter
{
const SIMPLE_FORMAT = "[%datetime%] %channel%.%level_name%: %message% %context% %extra%";
}

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%');
}
/**