-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distinguish ->log() output by color #149
Comments
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? |
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. )
The text was updated successfully, but these errors were encountered: