Open MartinMystikJonas opened 2 years ago
In 2.* version it was possible to disable logger output (task run time etc) by using
Robo::logger()->setOutputStream(new NullOutput());
We need his for some task to prevent mixing logger output with expected task output (processed in CI build)
No logger output
Logger output is shown anyway. Is there any way to manually disable logger output?
We found out that problem is that disabling of logger output is ovewritten here: https://github.com/consolidation/robo/blob/9d2af5307c38c2d8955c8fd840d0fa170363a5da/src/Result.php#L274
Steps to reproduce
In 2.* version it was possible to disable logger output (task run time etc) by using
We need his for some task to prevent mixing logger output with expected task output (processed in CI build)
Expected behavior
No logger output
Actual behavior
Logger output is shown anyway. Is there any way to manually disable logger output?