Apply value formatting to resolved exceptions

This commit is contained in:
Rossen Stoyanchev
2021-10-11 11:14:02 +01:00
parent 38f616a8e8
commit 82f8d0dfd7
3 changed files with 9 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ public abstract class LogFormatUtils {
* @return the formatted value
*/
public static String formatValue(@Nullable Object value, boolean limitLength) {
return formatValue(value, 100, limitLength);
return formatValue(value, (limitLength ? 100 : -1), limitLength);
}
/**