Merge pull request #611 from TheJulianJES/Log-Fix
Better log output at AE2 starting
This commit is contained in:
@@ -110,7 +110,7 @@ public class AppEng
|
|||||||
AEConfig.instance = new AEConfig( this.configPath );
|
AEConfig.instance = new AEConfig( this.configPath );
|
||||||
FacadeConfig.instance = new FacadeConfig( this.configPath );
|
FacadeConfig.instance = new FacadeConfig( this.configPath );
|
||||||
|
|
||||||
AELog.info( "Starting ( PreInit )" );
|
AELog.info( "Pre Initialization ( started )" );
|
||||||
|
|
||||||
CreativeTab.init();
|
CreativeTab.init();
|
||||||
if ( AEConfig.instance.isFeatureEnabled( AEFeature.Facades ) )
|
if ( AEConfig.instance.isFeatureEnabled( AEFeature.Facades ) )
|
||||||
@@ -127,7 +127,7 @@ public class AppEng
|
|||||||
this.startService( "AE2 VersionChecker", new Thread( new VersionChecker() ) );
|
this.startService( "AE2 VersionChecker", new Thread( new VersionChecker() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
AELog.info( "PreInit ( end " + star.elapsed( TimeUnit.MILLISECONDS ) + "ms )" );
|
AELog.info( "Pre Initialization ( ended after " + star.elapsed( TimeUnit.MILLISECONDS ) + "ms )" );
|
||||||
}
|
}
|
||||||
|
|
||||||
private void startService( String serviceName, Thread thread )
|
private void startService( String serviceName, Thread thread )
|
||||||
@@ -141,19 +141,19 @@ public class AppEng
|
|||||||
void init( FMLInitializationEvent event )
|
void init( FMLInitializationEvent event )
|
||||||
{
|
{
|
||||||
Stopwatch star = Stopwatch.createStarted();
|
Stopwatch star = Stopwatch.createStarted();
|
||||||
AELog.info( "Init" );
|
AELog.info( "Initialization ( started )" );
|
||||||
|
|
||||||
Registration.INSTANCE.initialize( event );
|
Registration.INSTANCE.initialize( event );
|
||||||
IntegrationRegistry.INSTANCE.init();
|
IntegrationRegistry.INSTANCE.init();
|
||||||
|
|
||||||
AELog.info( "Init ( end " + star.elapsed( TimeUnit.MILLISECONDS ) + "ms )" );
|
AELog.info( "Initialization ( ended after " + star.elapsed( TimeUnit.MILLISECONDS ) + "ms )" );
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
void postInit( FMLPostInitializationEvent event )
|
void postInit( FMLPostInitializationEvent event )
|
||||||
{
|
{
|
||||||
Stopwatch star = Stopwatch.createStarted();
|
Stopwatch star = Stopwatch.createStarted();
|
||||||
AELog.info( "PostInit" );
|
AELog.info( "Post Initialization ( started )" );
|
||||||
|
|
||||||
Registration.INSTANCE.postInit( event );
|
Registration.INSTANCE.postInit( event );
|
||||||
IntegrationRegistry.INSTANCE.postInit();
|
IntegrationRegistry.INSTANCE.postInit();
|
||||||
@@ -165,7 +165,7 @@ public class AppEng
|
|||||||
NetworkRegistry.INSTANCE.registerGuiHandler( this, GuiBridge.GUI_Handler );
|
NetworkRegistry.INSTANCE.registerGuiHandler( this, GuiBridge.GUI_Handler );
|
||||||
NetworkHandler.instance = new NetworkHandler( "AE2" );
|
NetworkHandler.instance = new NetworkHandler( "AE2" );
|
||||||
|
|
||||||
AELog.info( "PostInit ( end " + star.elapsed( TimeUnit.MILLISECONDS ) + "ms )" );
|
AELog.info( "Post Initialization ( ended after " + star.elapsed( TimeUnit.MILLISECONDS ) + "ms )" );
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
|
|||||||
Reference in New Issue
Block a user