1: <?php declare(strict_types=1);
2:
3: namespace Salient\Console\Target;
4:
5: use Analog\Analog;
6:
7: /**
8: * Writes console output to Analog
9: *
10: * @api
11: */
12: class AnalogTarget extends AbstractTarget
13: {
14: /**
15: * @inheritDoc
16: */
17: public function write(int $level, string $message, array $context = []): void
18: {
19: Analog::log($message, $level);
20: }
21: }
22: