Skip to content

[Console] Add ConsoleLogger::hasErrored() #19090

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

Merged
merged 1 commit into from
Jun 20, 2016

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

So that it's easy to exit(1) whenever any messages have been logged at error levels.

@chalasr
Copy link
Member

chalasr commented Jun 19, 2016

👍 helpful

@xabbuh
Copy link
Member

xabbuh commented Jun 20, 2016

👍

@fabpot
Copy link
Member

fabpot commented Jun 20, 2016

Thank you @nicolas-grekas.

@fabpot fabpot merged commit cfc578a into symfony:master Jun 20, 2016
fabpot added a commit that referenced this pull request Jun 20, 2016
…kas)

This PR was merged into the 3.2-dev branch.

Discussion
----------

[Console] Add ConsoleLogger::hasErrored()

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

So that it's easy to `exit(1)` whenever any messages have been logged at error levels.

Commits
-------

cfc578a [Console] Add ConsoleLogger::hasErrored()
@fabpot
Copy link
Member

fabpot commented Jun 20, 2016

@nicolas-grekas Can see where we can add a note about this new feature in the docs?

@xabbuh
Copy link
Member

xabbuh commented Jun 20, 2016

@fabpot @nicolas-grekas I opened symfony/symfony-docs#6663 so that we don't lose track.

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

Successfully merging this pull request may close these issues.

5 participants