Add a few missing comments to DhLoggerBuilder

This commit is contained in:
James Seibel
2022-11-25 15:57:41 -06:00
parent 00c7f7adaf
commit eb0bb8a67d
@@ -31,10 +31,14 @@ public class DhLoggerBuilder
{
return LogManager.getLogger(ModInfo.NAME + "-" + className);
}
/** Returns a logger for the given class. */
public static Logger getLogger(Class<?> clazz)
{
return LogManager.getLogger(ModInfo.NAME + "-" + clazz.getSimpleName());
}
/** Attempts to return the logger for this containing class. */
public static Logger getLogger()
{
StackTraceElement[] stElements = Thread.currentThread().getStackTrace();