mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
parent
a41336e9cf
commit
46fff79fe2
9 changed files with 509 additions and 349 deletions
|
|
@ -18,4 +18,14 @@ public class Printer {
|
|||
public static void writeOut(final String message, final Object... params) {
|
||||
System.out.println(MessageFormat.format(message, params));
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes to standard error channel.
|
||||
*
|
||||
* @param message the message with placeholders
|
||||
* @param params the params.
|
||||
*/
|
||||
public static void writeErr(final String message, final Object... params) {
|
||||
System.err.println(MessageFormat.format(message, params));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue