WarlockWriter
Less than 1 minute
WarlockWriter
Properties
process
private Process $processprefix
private string $prefix = 'WARLOCK'Methods
__construct
public __construct(Process $process): voidParameters
| Parameter | Type | Description |
|---|---|---|
$process | Process |
write
Writes a log message to the standard output.
public write(string $message, ?LogLevel $level, ?string $prefix): voidParameters
| Parameter | Type | Description |
|---|---|---|
$message | string | the log message to write |
$level | LogLevel | |
$prefix | string |
setPrefix
Sets the prefix for the log messages.
public setPrefix(string $prefix): voidParameters
| Parameter | Type | Description |
|---|---|---|
$prefix | string | the prefix to set for log messages |
Generated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:29 +0000