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 2022/01/19 14:03:21 UTC
[logging-log4j2] 02/13: Fix parameter name.
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 6c1ff2c002884818b732978455e6dc2ec1ae289a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Jan 19 07:48:28 2022 -0500
Fix parameter name.
---
log4j-api/src/main/java/org/apache/logging/log4j/Level.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/Level.java b/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
index a3fb75c..ab2344c 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
@@ -283,11 +283,11 @@ public final class Level implements Comparable<Level>, Serializable {
* Converts the string passed as argument to a level. If the conversion fails, then this method returns
* {@link #DEBUG}.
*
- * @param sArg The name of the desired Level.
+ * @param level The name of the desired Level.
* @return The Level associated with the String.
*/
- public static Level toLevel(final String sArg) {
- return toLevel(sArg, Level.DEBUG);
+ public static Level toLevel(final String level) {
+ return toLevel(level, Level.DEBUG);
}
/**