use logger templates

This commit is contained in:
ThatGamerBlue
2021-02-11 22:09:46 +00:00
parent 92f5150185
commit fd908b9596

View File

@@ -140,7 +140,7 @@ public class EventBus
final String preferredName = "on" + parameterClazz.getSimpleName();
if (!method.getName().equals(preferredName))
{
log.warn("Subscribed method " + method + " should be named " + preferredName);
log.warn("Subscribed method {} should be named {}", method, preferredName);
}
method.setAccessible(true);