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

Remove unnecessary wildcards from LogPlugin and convert warnings to errors. #12046

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

doonv
Copy link
Contributor

@doonv doonv commented Feb 22, 2024

Objective

Improve code quality and prevent bugs.

Solution

I removed the unnecessary wildcards from <LogPlugin as Plugin>::build.

I also changed the warnings that would occur if the subscriber/logger was already set into errors.

@alice-i-cecile alice-i-cecile added C-Code-Quality A section of code that is hard to understand or change A-Diagnostics Logging, crash handling, error reporting and performance analysis labels Feb 22, 2024
@james7132 james7132 added this pull request to the merge queue Feb 22, 2024
@james7132 james7132 added this to the 0.13.1 milestone Feb 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 22, 2024
@james7132 james7132 added this pull request to the merge queue Feb 23, 2024
Merged via the queue into bevyengine:main with commit 2701188 Feb 23, 2024
26 checks passed
msvbg pushed a commit to msvbg/bevy that referenced this pull request Feb 26, 2024
… errors. (bevyengine#12046)

# Objective

Improve code quality and prevent bugs.

## Solution

I removed the unnecessary wildcards from `<LogPlugin as Plugin>::build`.

I also changed the warnings that would occur if the subscriber/logger
was already set into errors.
msvbg pushed a commit to msvbg/bevy that referenced this pull request Feb 26, 2024
… errors. (bevyengine#12046)

# Objective

Improve code quality and prevent bugs.

## Solution

I removed the unnecessary wildcards from `<LogPlugin as Plugin>::build`.

I also changed the warnings that would occur if the subscriber/logger
was already set into errors.
mockersf pushed a commit that referenced this pull request Feb 27, 2024
… errors. (#12046)

# Objective

Improve code quality and prevent bugs.

## Solution

I removed the unnecessary wildcards from `<LogPlugin as Plugin>::build`.

I also changed the warnings that would occur if the subscriber/logger
was already set into errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Diagnostics Logging, crash handling, error reporting and performance analysis C-Code-Quality A section of code that is hard to understand or change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants