extends |
AbstractTarget |
|---|---|
implements |
LoggerAwareInterface |
Writes console output to a PSR-3 logger
| Methods | ||
|---|---|---|
public
|
__construct(LoggerInterface $logger)
|
# |
public
|
setLogger(LoggerInterface $logger): void
|
# |
public
|
write(int $level, string $message, array $context = []): void
|
# |
| Methods inherited from Salient\Console\Target\AbstractTarget |
|---|
getFormatter(), getWidth(), close(), assertIsValid(), createFormatter() |
| Constants inherited from Salient\Contract\HasMessageLevel |
|---|
|