Convert to Java logging framework. Closes #227.

This commit is contained in:
Sunstrike committed 2013-10-12 23:46:35 +01:00
1 parent 9bdbd6c6f1
commit 5c043d66f4
46 files changed
+127 -105

No files matched your search

+3 -2
View File
@@ -5,6 +5,7 @@ import java.io.IOException;
import net.minecraftforge.common.Configuration;
import net.minecraftforge.common.Property;
import tconstruct.TConstruct;
import tconstruct.library.tools.AbilityHelper;
public class PHConstruct
@@ -29,8 +30,8 @@ public class PHConstruct
}
catch (IOException e)
{
System.out.println("Could not create configuration file for TConstruct. Reason:");
System.out.println(e);
TConstruct.logger.severe("Could not create configuration file for TConstruct. Reason:");
TConstruct.logger.severe(e.getLocalizedMessage());
}
/* [Forge] Configuration class, used as config method */