RFC3164
RFC3164 = 0
A Handler for logging to a remote syslogd server.
$facility : int
$logLevels : array
Translates Monolog log levels to syslog log priorities.
$facilities : array<string,int>
List of valid log facility names.
$processors : callable[]
$formatter : ?\Monolog\Formatter\FormatterInterface
$level : int
$bubble : bool
$socket : \Monolog\Handler\SyslogUdp\UdpSocket
$ident : string
__construct(string $host, int $port = 514, string|int $facility = LOG_USER, mixed $level = Logger::DEBUG, bool $bubble = true, string $ident = 'php', int $rfc = self::RFC5424) : mixed
string | $host | Either IP/hostname or a path to a unix socket (port must be 0 then) |
int | $port | Port number, or 0 if $host is a unix socket |
string|int | $facility | Either one of the names of the keys in $this->facilities, or a LOG_* facility constant |
mixed | $level | |
bool | $bubble | Whether the messages that are handled can bubble up the stack or not |
string | $ident | Program name or tag for each log message. |
int | $rfc | RFC to format the message for. |