Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Syslog.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
10 use Monolog\Handler\SyslogHandler;
11 use Monolog\Logger;
12 
16 class Syslog extends SyslogHandler
17 {
18  private const FACILITY = LOG_USER;
19  private const LEVEL = Logger::DEBUG;
20 
24  public function __construct(string $ident)
25  {
26  parent::__construct($ident, self::FACILITY, self::LEVEL);
27  }
28 }