Skip to content

Commit

Permalink
Add new overloading loggersShouldFollowConventions rule
Browse files Browse the repository at this point in the history
  • Loading branch information
mnhock authored and mnhock committed Sep 23, 2024
1 parent 307c9b7 commit b48e4a6
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ public LoggingConfigurer loggersShouldFollowConventions(Class<?> clazz, String r
defaultConfiguration());
}

public LoggingConfigurer loggersShouldFollowConventions(Class<?> clazz, String regex,
Collection<JavaModifier> requiredModifiers, Configuration configuration) {
return loggersShouldFollowConventions(clazz.getName(), regex, requiredModifiers,
configuration);
}

public LoggingConfigurer loggersShouldFollowConventions(String typeName, String regex,
Collection<JavaModifier> requiredModifiers, Configuration configuration) {
return addRule(TaikaiRule.of(classes()
Expand Down

0 comments on commit b48e4a6

Please sign in to comment.