Update logging

This commit is contained in:
2022-04-20 23:55:52 +02:00
parent 7140528441
commit 1b62e151a5
7 changed files with 74 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
package at.pcgamingfreaks.mkvaudiosubtitlechanger.util;
import org.apache.logging.log4j.Logger;
public class LogUtils {
public static <T> void ifDebug(Logger log, T object) {
if (log.isDebugEnabled()) {
log.debug(object);
}
}
}