1 | <?php |
||
17 | class Logger extends AbstractLogger implements LoggerInterface, HandlerContainerInterface, ProcessorContainerInterface |
||
18 | { |
||
19 | use HandlerContainerTrait; |
||
20 | use ProcessorContainerTrait; |
||
21 | |||
22 | /** @var string */ |
||
23 | protected $channel; |
||
24 | |||
25 | /** |
||
26 | * @param string $channel |
||
27 | * @param HandlerInterface[] $handlers |
||
28 | * @param ProcessorInterface[] $processors |
||
29 | */ |
||
30 | 14 | public function __construct( |
|
40 | |||
41 | /** |
||
42 | * @inheritdoc |
||
43 | */ |
||
44 | 13 | public function getChannel() |
|
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | * |
||
52 | * @throws InvalidArgumentException |
||
53 | */ |
||
54 | 13 | public function log($levelName, $message, array $context = []) |
|
69 | } |
||
70 |