javaloggingminecraft-forge

How to log information in Forge?


I'm trying to log into using MinecraftServer.logInfo(), but I get a nosuchmethod exception.

    server.logInfo("Example message");

I'm getting the instance of MinecraftServer in the server starting event.

    MinecraftServer server = event.getServer();

Solution

  • I'm pretty sure a simple

    System.out.println("Information!");
    

    Should do in forge.