steward
steward copied to clipboard
Distinguish ->log() output by color
Output of ->debug() and warn->() method is colored.
It may be handy to color also output of ->log() method.
(This would probably require adding some prefix to the log messages, as the color is added to the line from the test output in pos-processing by output() method of StewardStyle. )
I've noticed that when i run steward with the --xdebug option, the variable in $_SERVER['DEBUG'] remains 0. Because of this the $this->debug("") function doesn't display text in the console, because in the ConfigProvider it is set to 0. When I run export DEBUG=1 the DEBUG variable in my xdebug debugger seems to get overridden to 0.
I've tried to set the value of debug to 1 like in the setUp function in 'steward/src-tests/Test/AbstractTestCaseTest.php', but no luck.
Is this expected behaviour? If so, how do I enable debug besides the --xdebug option?