Memory
Less than 1 minute
Memory
Properties
log
The log entries.
private array $logMethods
__construct
public __construct(array $options): voidParameters
| Parameter | Type | Description |
|---|---|---|
$options | array |
write
public write(string $message, int $level = 'LOG_INFO', ?string $tag): voidParameters
| Parameter | Type | Description |
|---|---|---|
$message | string | |
$level | int | |
$tag | string |
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(): voidtrace
public trace(): voidGenerated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:29 +0000