Syslog
Less than 1 minute
Syslog
Methods
__construct
Syslog backend constructor.
public __construct(array $config): voidParameters
| Parameter | Type | Description |
|---|---|---|
$config | array |
write
Write a log message to syslog.
public write(string $level, \Stringable $message, array $context): voidParameters
| Parameter | Type | Description |
|---|---|---|
$level | string | |
$message | \Stringable | |
$context | array |
close
Close the syslog connection.
public close(): voidGenerated by Hazaar API Doc Generator on Sun, 01 Mar 2026 09:22:26 +0000