From 3f47f87ccce890c6ec8e7e10a882dce9e87db397 Mon Sep 17 00:00:00 2001 From: Ashley Scopes <73482956+ascopes@users.noreply.github.com> Date: Sun, 25 Sep 2022 14:49:03 +0100 Subject: [PATCH] Add missing javadoc to SLF4JServiceProvider.java Had to do some digging around the logback-classic alpha release for SLF4J2 API integration to work out the nature of this behaviour. This should prevent confusion for developers of other logging implementations in the future. Signed-off-by: Ashley Scopes <73482956+ascopes@users.noreply.github.com> --- .../src/main/java/org/slf4j/spi/SLF4JServiceProvider.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/slf4j-api/src/main/java/org/slf4j/spi/SLF4JServiceProvider.java b/slf4j-api/src/main/java/org/slf4j/spi/SLF4JServiceProvider.java index cfa8d08a6..83e087419 100755 --- a/slf4j-api/src/main/java/org/slf4j/spi/SLF4JServiceProvider.java +++ b/slf4j-api/src/main/java/org/slf4j/spi/SLF4JServiceProvider.java @@ -39,6 +39,14 @@ public interface SLF4JServiceProvider { */ public MDCAdapter getMDCAdapter(); + /** + * Return the maximum API version for SLF4J that the logging + * implementation supports. + * + *

For example: {@code "2.0.1"}. + * + * @return the string API version. + */ public String getRequestedApiVersion(); /**