mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
Change way of checking for windows
This commit is contained in:
@@ -68,7 +68,7 @@ class SyslogHandler extends AbstractProcessingHandler
|
|||||||
{
|
{
|
||||||
parent::__construct($level, $bubble);
|
parent::__construct($level, $bubble);
|
||||||
|
|
||||||
if (false === strpos(PHP_OS, 'WIN')) {
|
if (!defined('PHP_WINDOWS_VERSION_BUILD')) {
|
||||||
$this->facilities['local0'] = LOG_LOCAL0;
|
$this->facilities['local0'] = LOG_LOCAL0;
|
||||||
$this->facilities['local1'] = LOG_LOCAL1;
|
$this->facilities['local1'] = LOG_LOCAL1;
|
||||||
$this->facilities['local2'] = LOG_LOCAL2;
|
$this->facilities['local2'] = LOG_LOCAL2;
|
||||||
|
Reference in New Issue
Block a user