Skip to content

Commit

Permalink
Elaborate on DependencyUtil.log in doc comment (#449)
Browse files Browse the repository at this point in the history
* Elaborate on DependencyUtil.log in doc comment
* typo
  • Loading branch information
elharo authored Oct 23, 2024
1 parent e2d2383 commit c98c851
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,11 @@ public static synchronized void write(String string, File file, boolean append,
}

/**
* Writes the specified string to the log at info level.
* Writes each line in the specified string to the log at info level.
* The difference between calling
* {@code DependencyUtil.log(s, log)} and {@code log.info(s)} is that the latter
* will put "[INFO]" in front of each line in the string whereas the former only
* outputs it once at the front of the string.
*
* @param string the string to write
* @param log where to log information
Expand Down

0 comments on commit c98c851

Please sign in to comment.