Commit 41863a6
committed
fix(logger): bypass Console formatting in write() method
The write() method was using Console's internal _stdout stream which
applies formatting like group indentation. This caused the test
"should not apply indentation" to fail because write() was meant to
output raw text without any formatting applied.
Fixed by accessing the original stdout stream from constructor options
when available, bypassing Console's internal formatting wrapper.1 parent e69cd6d commit 41863a6
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1416 | 1416 | | |
1417 | 1417 | | |
1418 | 1418 | | |
1419 | | - | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
1420 | 1424 | | |
1421 | 1425 | | |
1422 | 1426 | | |
| |||
0 commit comments