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 <[email protected]> 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); } /**
