| 1 | <?php |
||
| 18 | class Logger extends Monologer |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var LoopInterface |
||
| 22 | */ |
||
| 23 | protected $eventLoop; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * The log file. |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $file; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * The log level. |
||
| 34 | * |
||
| 35 | * @var int|string |
||
| 36 | */ |
||
| 37 | protected $level; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @var OutputInterface |
||
| 41 | */ |
||
| 42 | protected $output; |
||
| 43 | |||
| 44 | public function __construct(LoopInterface $loop, $level, $file, OutputInterface $output) |
||
| 52 | |||
| 53 | protected function createHandlers() |
||
| 60 | } |