1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-26 18:16:24 +01:00
This commit is contained in:
Jordi Boggiano
2014-10-17 19:12:45 +01:00
parent 940cbe15ab
commit b738a6c04c
23 changed files with 14 additions and 31 deletions

View File

@@ -22,7 +22,7 @@ class JsonFormatter implements FormatterInterface
{
const BATCH_MODE_JSON = 1;
const BATCH_MODE_NEWLINES = 2;
protected $batchMode;
protected $appendNewline;

View File

@@ -18,7 +18,6 @@ use Monolog\Logger;
*/
class LogEntriesHandler extends SocketHandler
{
/**
* @var string
*/
@@ -53,5 +52,4 @@ class LogEntriesHandler extends SocketHandler
{
return $this->logToken . ' ' . $record['formatted'];
}
}

View File

@@ -18,5 +18,4 @@ namespace Monolog\Handler;
*/
class MissingExtensionException extends \Exception
{
}

View File

@@ -281,5 +281,4 @@ class SocketHandler extends AbstractProcessingHandler
throw new \RuntimeException("End-of-file reached, probably we got disconnected (sent $sent of $length)");
}
}
}

View File

@@ -12,7 +12,7 @@
namespace Monolog\Handler;
/**
* Forwards records to multiple handlers suppressing failures of each handler
* Forwards records to multiple handlers suppressing failures of each handler
* and continuing through to give every handler a chance to succeed.
*
* @author Craig D'Amelio <craig@damelio.ca>

View File

@@ -60,5 +60,4 @@ abstract class MemoryProcessor
return $bytes . ' B';
}
}

View File

@@ -41,7 +41,7 @@ class WebProcessor
public function __construct($serverData = null, array $extraFields = null)
{
if (null === $serverData) {
$this->serverData =& $_SERVER;
$this->serverData = &$_SERVER;
} elseif (is_array($serverData) || $serverData instanceof \ArrayAccess) {
$this->serverData = $serverData;
} else {