abstract | |
---|---|
extends |
ConsoleTarget |
implements |
ConsoleTargetPrefixInterface |
Base class for console output targets that apply an optional prefix to each line of output
Methods | ||
---|---|---|
abstract
protected
|
writeToTarget(MessageLevel::* $level, string $message, array<string, mixed> $context): void
|
# |
final
public
|
write($level, string $message, array $context = []): void
|
# |
final
public
|
setPrefix(?string $prefix)
|
# |
final
public
|
getPrefix(): ?string
|
# |
public
|
getWidth(): ?int
|
# |
Methods inherited from Salient\Console\Concept\ConsoleTarget |
---|
getFormatter(), close(), assertIsValid(), createTagFormats(), createMessageFormats() |