Memory
Less than 1 minute
Memory
Properties
log
The log entries.
private array $log
Methods
__construct
public __construct(array $options = []): void
Parameters
Parameter | Type | Description |
---|---|---|
$options | array |
write
public write(string $message, int $level = 'LOG_INFO', ?string $tag): void
Parameters
Parameter | Type | Description |
---|---|---|
$message | string | |
$level | int | |
$tag | string |
read
Read the log.
public read(?int $level): void
Parameters
Parameter | Type | Description |
---|---|---|
$level | int | The log level to read. If null, all log entries are returned. |
clear
public clear(): void
trace
public trace(): void
Generated by Hazaar API Doc Generator