ponder-lab / Rejuvenate-Logging-Levels

An Eclipse plug-in research prototype for automatically rejuvenating log statement levels using degree of interest
Eclipse Public License 2.0
2 stars 3 forks source link

Log level transformations between overriding methods should be consistent #250

Closed khatchad closed 4 years ago

khatchad commented 4 years ago

If method M' overrides method M and both M and M' include log level transformations, the target levels should be consistent. This is to preserve a sort of "behavioral subtyping" relationship.

Found per https://github.com/google/guava/pull/3713#discussion_r348532243.

khatchad commented 4 years ago

It may be possible to use the SearchEngine to find all declarations of a given method. I believe that should include all overriding methods.

khatchad commented 4 years ago

BTW, "consistent" needs discussion.

khatchad commented 4 years ago

To be clear, the description mentions target levels, not existing levels.