mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
Fix doc/sockets.md
This commit is contained in:
@@ -4,11 +4,12 @@ Sockets Handler
|
|||||||
This handler allows you to write your logs to sockets using [fsockopen](http://php.net/fsockopen)
|
This handler allows you to write your logs to sockets using [fsockopen](http://php.net/fsockopen)
|
||||||
or [pfsockopen](http://php.net/pfsockopen).
|
or [pfsockopen](http://php.net/pfsockopen).
|
||||||
|
|
||||||
|
Persistent sockets are mainly useful in web environments where you gain some performance not closing/opening
|
||||||
|
the connections between requests.
|
||||||
|
|
||||||
Basic Example
|
Basic Example
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
This example e persistent connections:
|
|
||||||
|
|
||||||
```php
|
```php
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user