Greetings, I downloaded and installed the latest 1.7.2 source and when I tried to setup logging like the old tutorials examples Eclipse indicated that there was problems with the following statements.
public static Logger logger;
logger = Logger.getLogger(MODID);
logger.setParent(FMLLog.getLogger());
When I investigated the FML source I discovered that FMLLog no longer imports
import java.util.logging.Level;
import java.util.logging.Logger;
but instead uses
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.Logger;
If i import log4j I get an error with "logger = Logger.getLogger(MODID);"
if I import the old java.util.logging i get errors with "logger.setParent(FMLLog.getLogger());"
So how do I properly use Logging with 1.7.2 mods?
Thanks in advanced
GuardStar