The Syslog class is a syslog device implementation in PHP following the RFC 3164 rules.
Using this class, it is possible to send a syslog message to an external relay or collector using the UDP port 514.
Sockets support must be enabled.
In Linux and *nix environments, the extension is enabled at compile time using the --enable-sockets configure option.
In Windows, PHP Sockets can be activated by un-commenting extension=php_sockets.dll in php.ini.