Skip to content

Commit

Permalink
enhance provides directive in module-info
Browse files Browse the repository at this point in the history
Signed-off-by: Ceki Gulcu <[email protected]>
  • Loading branch information
ceki committed Jul 26, 2023
1 parent efbeff6 commit 6cbb316
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
* @since 1.3.0-beta1
*/
// Note that DefaultJoranConfigurator is invoked via reflection

@ConfiguratorRank(value = ConfiguratorRank.NOMINAL)
@ConfiguratorRank(value = ConfiguratorRank.NOMINAL)
public class DefaultJoranConfigurator extends ContextAwareBase implements Configurator {

final public static String AUTOCONFIG_FILE = "logback.xml";
Expand Down
4 changes: 3 additions & 1 deletion logback-classic/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
requires ch.qos.logback.core;
uses ch.qos.logback.core.spi.Configurator;
provides org.slf4j.spi.SLF4JServiceProvider with ch.qos.logback.classic.spi.LogbackServiceProvider;
provides ch.qos.logback.core.spi.Configurator with ch.qos.logback.classic.joran.SerializedModelConfigurator;
provides ch.qos.logback.core.spi.Configurator with ch.qos.logback.classic.joran.SerializedModelConfigurator,
ch.qos.logback.classic.util.DefaultJoranConfigurator,
ch.qos.logback.classic.BasicConfigurator;

exports ch.qos.logback.classic;
exports ch.qos.logback.classic.boolex;
Expand Down

0 comments on commit 6cbb316

Please sign in to comment.