Skip to content

Need to process logging API wrapping method #180

Description

@yiming-tang-cs

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions