Skip to content
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

Open
OndraM opened this issue Jun 8, 2017 · 1 comment
Open

Distinguish ->log() output by color #149

OndraM opened this issue Jun 8, 2017 · 1 comment

Comments

@OndraM
Copy link
Member

OndraM commented Jun 8, 2017

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. )

@OndraM OndraM changed the title Distinguish ->log() outbut by color Distinguish ->log() output by color Nov 5, 2018
@marnixAvansBreda
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants