| Conditions | 1 |
| Paths | 1 |
| Total Lines | 21 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | 9 | public function __construct( |
|
| 23 | string $stream, |
||
| 24 | int $level = Logger::DEBUG, |
||
| 25 | $channel = null, |
||
| 26 | $bubble = true |
||
| 27 | ) { |
||
| 28 | 9 | parent::__construct($stream, $level, $bubble); |
|
| 29 | |||
| 30 | 9 | $formatter = new Formatter( |
|
| 31 | 9 | null, |
|
| 32 | 9 | null, |
|
| 33 | 9 | false, |
|
| 34 | 9 | true |
|
| 35 | ); |
||
| 36 | |||
| 37 | 9 | $this->setFormatter( |
|
| 38 | 9 | $formatter |
|
| 39 | ); |
||
| 40 | |||
| 41 | 9 | $this->channel = $channel; |
|
| 42 | 9 | } |
|
| 43 | |||
| 78 |