1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 17:16:18 +02:00

Combine common syslog handlers functionality, refs #258

This commit is contained in:
Jordi Boggiano
2013-10-31 22:17:55 +01:00
parent 814cfa3c12
commit b8967466bc
5 changed files with 115 additions and 127 deletions

View File

@@ -15,7 +15,7 @@ class UdpSocket
{
const DATAGRAM_MAX_LENGTH = 2048;
public function __construct($ip, $port)
public function __construct($ip, $port = 514)
{
$this->ip = $ip;
$this->port = $port;