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

Capture diagnostics with a severity level #260

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

evant
Copy link

@evant evant commented Jun 19, 2024

This allows the output to be more easily filtered after the fact

Fixes #198

This allows the output to be more easily filtered after the fact

Fixes ZacSweers#198
@evant
Copy link
Author

evant commented Jun 19, 2024

This was taken an modified from https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-work-release/room/room-compiler-processing-testing/src/main/java/androidx/room/compiler/processing/util/compiler/DiagnosticsMessageCollector.kt, chose to get rid of the location stuff for now since I don't know how important it is, can always add it back later.

Copy link
Owner

@ZacSweers ZacSweers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ZacSweers ZacSweers merged commit 1b9bff2 into ZacSweers:main Jun 27, 2024
3 checks passed
@evant evant deleted the message-collector branch June 27, 2024 22:51
@@ -1,5 +1,8 @@
package com.tschuchort.compiletesting

import com.facebook.buck.jvm.java.javax.com.tschuchort.compiletesting.DiagnosticMessage
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed these weird packages, fixing them separately before releasing

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

Successfully merging this pull request may close these issues.

Ability to filter output by log level
2 participants