Big cleanup of logging. Might do some tweaks of the userdev logging, but this should be good for vanilla..

Signed-off-by: cpw <[email protected]>
This commit is contained in:
cpw committed 2019-01-26 22:18:28 -05:00
1 parent 7d21e5d328
commit 3c55b46ca0
9 files changed
+46 -22

No files matched your search

@@ -45,6 +45,8 @@ import org.apache.logging.log4j.Logger;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import static net.minecraftforge.fml.Logging.CORE;
/**
* Internal registry for tracking {@link ObjectHolder} references
*/
@@ -87,7 +89,7 @@ public class ObjectHolderRegistry
public static void findObjectHolders()
{
LOGGER.info("Processing ObjectHolder annotations");
LOGGER.debug(CORE,"Processing ObjectHolder annotations");
final List<ModFileScanData.AnnotationData> annotations = ModList.get().getAllScanData().stream()
.map(ModFileScanData::getAnnotations)
.flatMap(Collection::stream)