private int $level = 'E_ERROR'
private array $messageBuffer
public __construct(string $level, ?string $backend, array $backendOptions): void
| Parameter | Type | Description |
|---|
$level | string | |
$backend | string | |
$backendOptions | array | |
public initialise(array $config): void
| Parameter | Type | Description |
|---|
$config | array | |
public write(string $message, int $level = 'E_NOTICE', ?string $tag): void
| Parameter | Type | Description |
|---|
$message | string | |
$level | int | |
$tag | string | |
Log an ERROR message.
public e(string $message, ?string $tag): void
| Parameter | Type | Description |
|---|
$message | string | |
$tag | string | |
Log a WARNING message.
public w(string $message, ?string $tag): void
| Parameter | Type | Description |
|---|
$message | string | |
$tag | string | |
Log a NOTICE message.
public n(string $message, ?string $tag): void
| Parameter | Type | Description |
|---|
$message | string | |
$tag | string | |
Log a INFO message.
public i(string $message, ?string $tag): void
| Parameter | Type | Description |
|---|
$message | string | |
$tag | string | |
Log a DEBUG message.
public d(string $message, ?string $tag): void
| Parameter | Type | Description |
|---|
$message | string | |
$tag | string | |
public writeLog(string $message, int $level = 'E_NOTICE', ?string $tag): void
| Parameter | Type | Description |
|---|
$message | string | |
$level | int | |
$tag | string | |
Generated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:29 +0000