WarlockWriter
Less than 1 minute
WarlockWriter
Properties
process
private Process $process
prefix
private string $prefix = 'WARLOCK'
Methods
__construct
public __construct(Process $process): void
Parameters
Parameter | Type | Description |
---|---|---|
$process | Process |
write
Writes a log message to the standard output.
public write(string $message, ?LogLevel $level, ?string $prefix): void
Parameters
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): void
Parameters
Parameter | Type | Description |
---|---|---|
$prefix | string | the prefix to set for log messages |
Generated by Hazaar API Doc Generator on Wed, 25 Jun 2025 06:07:12 +0000