Memory
Less than 1 minute
Memory
Properties
log
The log entries.
private array $logMethods
__construct
public __construct(array $config): voidParameters
| Parameter | Type | Description |
|---|---|---|
$config | array |
write
public write(string $level, string $message, array $context): voidParameters
| Parameter | Type | Description |
|---|---|---|
$level | string | |
$message | string | |
$context | array |
read
Read the log.
public read(?int $level): voidParameters
| Parameter | Type | Description |
|---|---|---|
$level | int | The log level to read. If null, all log entries are returned. |
clear
public clear(): voidclose
public close(): voidGenerated by Hazaar API Doc Generator on Sun, 01 Mar 2026 09:22:26 +0000