Added GrinderLogging and hid Grinder Logging behind it.

This commit is contained in:
AlgorithmX2 2014-05-06 14:56:06 -05:00
parent 93aad6c53b
commit 50aa0b9062
3 changed files with 6 additions and 3 deletions

View file

@ -40,7 +40,10 @@ public class AELog
public static void grinder(String o)
{
log( Level.DEBUG, "grinder: " + o );
if ( AEConfig.instance.isFeatureEnabled( AEFeature.GrinderLogging ) )
{
log( Level.DEBUG, "grinder: " + o );
}
}
public static void error(Throwable e)

View file

@ -48,7 +48,7 @@ public enum AEFeature
DuplicateItems("Misc", false), Profiler("Services", false), VersionChecker("Services"), Debug("Misc", false), Creative("Misc"),
Logging("Misc"), IntegrationLogging("Misc", false), CustomRecipes("Crafting", false), WebsiteRecipes("Misc", false),
GrinderLogging("Misc",false), Logging("Misc"), IntegrationLogging("Misc", false), CustomRecipes("Crafting", false), WebsiteRecipes("Misc", false),
enableFacadeCrafting("Crafting"), inWorldSingularity("Crafting"), inWorldFluix("Crafting"), inWorldPurification("Crafting"), UpdateLogging("Misc", false),

View file

@ -111,7 +111,7 @@ public class GrinderRecipeManager implements IGrinderRegistry, IOreListener
}
}
log( "Count not find recipe for " + Platform.getItemDisplayName( input ) );
log( "Could not find recipe for " + Platform.getItemDisplayName( input ) );
}
return null;