Added warnf without Throwable arg

This commit is contained in:
Collin Smith 2020-08-03 20:17:28 -07:00
parent 65a8dee1eb
commit 294f74dde3

View File

@ -25,6 +25,10 @@ public class Log {
logger.info(createMessage(format, args));
}
public static void warnf(Logger logger, String format, Object... args) {
logger.warn(createMessage(format, args));
}
public static void warnf(Logger logger, Throwable t, String format, Object... args) {
logger.warn(createMessage(format, args), t);
}