We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log4j 2.24
Minor Javadoc correction.
In TypeConverters, the conversion for type "Level" says it returns 'null' for invalid levels:
/** * Converts a {@link String} into a Log4j {@link Level}. Returns {@code null} for invalid level names. */ @Plugin(name = "Level", category = CATEGORY) public static class LevelConverter implements TypeConverter<Level> { @Override public Level convert(final String s) { return Level.valueOf(s); } }
But Level.valueOf(s) throws an IllegalArgumentException for unknown levels.
Level.valueOf(s)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Log4j 2.24
Minor Javadoc correction.
In TypeConverters, the conversion for type "Level" says it returns 'null' for invalid levels:
But
Level.valueOf(s)
throws an IllegalArgumentException for unknown levels.The text was updated successfully, but these errors were encountered: