Addendum - only write to log if specified by settings

- Commit forgotten removal of `!` during refactoring
This commit is contained in:
ljacqu 2016-02-05 23:13:09 +01:00
parent c28a1b537f
commit a103aee4da

View File

@ -33,7 +33,7 @@ public final class ConsoleLogger {
*/ */
public static void info(String message) { public static void info(String message) {
wrapper.getLogger().info(message); wrapper.getLogger().info(message);
if (!Settings.useLogging) { if (Settings.useLogging) {
writeLog(message); writeLog(message);
} }
} }