Skip to content

Commit f720493

Browse files
committed
refactor: make logger creation copy-paste friendly
1 parent f9006f1 commit f720493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/com/github/spotbugs/snom/SpotBugsPlugin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class SpotBugsPlugin implements Plugin<Project> {
2727
public static final String SLF4J_CONFIG_NAME = "spotbugsSlf4j";
2828
public static final String EXTENSION_NAME = "spotbugs";
2929

30-
private final Logger log = LoggerFactory.getLogger(SpotBugsPlugin.class);
30+
private final Logger log = LoggerFactory.getLogger(getClass());
3131

3232
@Override
3333
public void apply(Project project) {

0 commit comments

Comments
 (0)