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

Need to process logging API wrapping method #180

Open
yiming-tang-cs opened this issue Apr 9, 2019 · 0 comments
Open

Need to process logging API wrapping method #180

yiming-tang-cs opened this issue Apr 9, 2019 · 0 comments

Comments

@yiming-tang-cs
Copy link
Contributor

yiming-tang-cs commented Apr 9, 2019

There are some cases that a logger is wrapped by a method:

    @Override
    public void debug(Object message) {
        log.log(Level.FINE, String.valueOf(message));
    }

More cases in bazel:

https://github.com/bazelbuild/bazel/blob/e8f4e5e506e6d82c15d363e818b1b70c97a70a68/third_party/aws-sdk-auth-lite/src/main/java/com/amazonaws/log/JulLog.java#L32-L69

Currently, our plugin doesn't process these cases. We may need to process them like what we did for if-statements.

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

No branches or pull requests

1 participant