LogEntry
Less than 1 minute
LogEntry
Represents a single log entry for DBI operations.
class LogEntryStores a timestamp and message for logging database events or errors.
Properties
timestamp
The timestamp (in seconds with microsecond precision) when the log entry was created.
public float $timestampmessage
The log message describing the event or error.
public string $messageMethods
__construct
Create a new log entry with the current timestamp and a message.
public __construct(string $message): voidParameters
| Parameter | Type | Description |
|---|---|---|
$message | string | the log message to record |
__toString
Convert the log entry to a formatted string.
public __toString(): stringGenerated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000