We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1485f commit c5de5c9Copy full SHA for c5de5c9
spring-core/src/main/java/org/springframework/core/log/LogFormatUtils.java
@@ -36,8 +36,9 @@
36
public abstract class LogFormatUtils {
37
38
/**
39
- * Variant of {@link #formatValue(Object, int, boolean)} and a convenience
40
- * method that truncates at 100 characters when {@code limitLength} is set.
+ * Convenience variant of {@link #formatValue(Object, int, boolean)} that
+ * limits the length of a log message to 100 characters and also replaces
41
+ * newline characters if {@code limitLength} is set to "true".
42
* @param value the value to format
43
* @param limitLength whether to truncate the value at a length of 100
44
* @return the formatted value
0 commit comments