September 10, 201411 yr Well, it is standard Java so you can use the Logger class and I think you can get the mod logger instance with something like this (in your proxy or main class): public static Logger logger; @EventHandler public void preInit(FMLPreInitializationEvent event) { logger = event.getModLog(); } If you just mean to the console though, for that you use System.out.println("whatever you want to send"); Check out my tutorials here: http://jabelarminecraft.blogspot.com/
September 10, 201411 yr Author thankyou, I use System.out.println a lot, and it dosnt get put into the log file in deployed mods, i have a problem in a single player game, (with the deployed mod) and cant see what is happening because it isn't being logged, the problem isnt happening when i run it from eclipse
September 10, 201411 yr Actually, did you know you can see the regular console output when playing Minecraft? there is a tab on the launcher called Game Output. So you can see your System.out.println() output even for deployed mod. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.