-
Notifications
You must be signed in to change notification settings - Fork 135
fix #1161: Add error prone LoggerEnclosingClass #1163
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
Conversation
Loggers created using getLogger(Class<?>) must reference their enclosing class.
Generate changelog in
|
baseline-error-prone/src/main/java/com/palantir/baseline/errorprone/LoggerEnclosingClass.java
Outdated
Show resolved
Hide resolved
|
CI failure is unrelated, looks like |
|
Removing the dead link here: #1164 |
ferozco
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
|
Thanks for the quick review :-) |
|
Released 2.49.0 |
Loggers created using getLogger(Class<?>) must reference their enclosing
class.
Before this PR
After this PR
==COMMIT_MSG==
Add error prone LoggerEnclosingClass check. Loggers created using getLogger(Class<?>) must reference their enclosing class.
==COMMIT_MSG==
Possible downsides?
It's possible there are unexpected usage patterns which may need to be suppressed.