You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2021/12/30 14:01:43 UTC

[logging-log4j2] 02/03: Add Javadoc.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 3c828b5744414abc8a6d07ea8d406d5bd3fb2360
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Dec 30 09:00:25 2021 -0500

    Add Javadoc.
---
 .../src/main/java/org/apache/log4j/spi/Configurator.java          | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/log4j-1.2-api/src/main/java/org/apache/log4j/spi/Configurator.java b/log4j-1.2-api/src/main/java/org/apache/log4j/spi/Configurator.java
index b418db8..39e6d87 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/spi/Configurator.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/spi/Configurator.java
@@ -26,8 +26,16 @@ import org.apache.logging.log4j.core.LoggerContext;
  */
 public interface Configurator {
 
+    /**
+     * Special level value signifying inherited behavior. The current value of this string constant is <b>inherited</b>.
+     * {@link #NULL} is a synonym.
+     */
     public static final String INHERITED = "inherited";
 
+    /**
+     * Special level signifying inherited behavior, same as {@link #INHERITED}. The current value of this string constant
+     * is <b>null</b>.
+     */
     public static final String NULL = "null";