Database
Less than 1 minute
Database
Properties
config
private array $configfailed
private bool $faileddb
private Adapter $dbMethods
__construct
Database backend constructor.
public __construct(array $config): voidParameters
| Parameter | Type | Description |
|---|---|---|
$config | array | configuration options for database connection and logging |
write
Write a log entry to the database backend.
public write(string $level, string $message, array $context): voidParameters
| Parameter | Type | Description |
|---|---|---|
$level | string | Log level (e.g., 'error', 'info'). |
$message | string | log message to record |
$context | array | additional context for the log entry (currently unused) |
close
public close(): voidGenerated by Hazaar API Doc Generator on Sun, 01 Mar 2026 09:22:26 +0000