1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-04 12:17:35 +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. - _GelfHandler_: Logs records to a [Graylog2](http://www.graylog2.org) server.
- _SocketHandler_: Logs records to [sockets](http://php.net/fsockopen), use this - _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). 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 Wrappers / Special Handlers
--------------------------- ---------------------------
@@ -154,6 +157,7 @@ Requirements
- Any flavor of PHP 5.3 should do - Any flavor of PHP 5.3 should do
- [optional] PHPUnit 3.5+ to execute the test suite (phpunit --version) - [optional] PHPUnit 3.5+ to execute the test suite (phpunit --version)
- [optional] installed amqp library to use AmqpHandler.
Submitting bugs and feature requests 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 * {@inheritDoc}
*
* @param array $record
* @return void
*/ */
protected function write(array $record) protected function write(array $record)
{ {