mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-20 09:17:29 +07:00
Added warnf without Throwable arg
This commit is contained in:
parent
65a8dee1eb
commit
294f74dde3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user