mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-06 08:18:13 +07:00
Fixed log level code
This commit is contained in:
@ -204,10 +204,10 @@ public abstract class BaseProcessor extends AbstractProcessor{
|
||||
context = ((JavacProcessingEnvironment)env).getContext();
|
||||
maker = TreeMaker.instance(javacProcessingEnv.getContext());
|
||||
|
||||
Log.setLogLevel(LogLevel.info);
|
||||
Log.level = LogLevel.info;
|
||||
|
||||
if(System.getProperty("debug") != null){
|
||||
Log.setLogLevel(LogLevel.debug);
|
||||
Log.level = LogLevel.debug;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user