parent
c51f06d2b5
commit
0a4798656f
1 changed files with 1 additions and 6 deletions
|
@ -68,12 +68,7 @@ public class RealWeatherPlugin extends MStatsPlugin {
|
|||
}
|
||||
|
||||
DebugLogger.logger = getLogger();
|
||||
|
||||
if (configuration.getBoolean("debug")) {
|
||||
getLogger().setLevel(Level.FINEST);
|
||||
DebugLogger.warning("Debug harms performance");
|
||||
}
|
||||
|
||||
getLogger().setLevel(configuration.getBoolean("debug") ? Level.FINEST : Level.INFO);
|
||||
|
||||
if (firstRun) {
|
||||
DebugLogger.warning("This is your first time running this plugin.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue