Skip to content

Commit

Permalink
Update Javadoc of LogFormatUtils
Browse files Browse the repository at this point in the history
Closes gh-27632
  • Loading branch information
rstoyanchev committed Nov 8, 2021
1 parent ff1485f commit c5de5c9
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -36,8 +36,9 @@
public abstract class LogFormatUtils {

/**
* Variant of {@link #formatValue(Object, int, boolean)} and a convenience
* 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
* newline characters if {@code limitLength} is set to "true".
* @param value the value to format
* @param limitLength whether to truncate the value at a length of 100
* @return the formatted value
Expand Down

0 comments on commit c5de5c9

Please sign in to comment.