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

comments & readme update

This commit is contained in:
pomaxa
2012-06-15 14:31:50 +03:00
parent 246ea3a9f6
commit 0932fd33c4
2 changed files with 5 additions and 4 deletions

View File

@@ -104,6 +104,9 @@ Handlers
- _GelfHandler_: Logs records to a [Graylog2](http://www.graylog2.org) server.
- _SocketHandler_: Logs records to [sockets](http://php.net/fsockopen), use this
for UNIX and TCP sockets. See an [example](https://github.com/Seldaek/monolog/blob/master/doc/sockets.md).
- _AmqpHandler_L Logs records using [amqp](php.net/manual/en/book.amqp.php) protocol to the RabbitMQ server.
Note: handler needs an installed amqp version > 1.
For instructions on installation look in (http://lv.php.net/manual/en/amqp.installation.php)
Wrappers / Special Handlers
---------------------------
@@ -154,6 +157,7 @@ Requirements
- Any flavor of PHP 5.3 should do
- [optional] PHPUnit 3.5+ to execute the test suite (phpunit --version)
- [optional] installed amqp library to use AmqpHandler.
Submitting bugs and feature requests
------------------------------------

View File

@@ -37,10 +37,7 @@ class AmqpHandler extends AbstractProcessingHandler
}
/**
* Writes the record down to the log of the implementing handler
*
* @param array $record
* @return void
* {@inheritDoc}
*/
protected function write(array $record)
{