Addendum - only write to log if specified by settings
- Commit forgotten removal of `!` during refactoring
This commit is contained in:
@@ -33,7 +33,7 @@ public final class ConsoleLogger {
|
||||
*/
|
||||
public static void info(String message) {
|
||||
wrapper.getLogger().info(message);
|
||||
if (!Settings.useLogging) {
|
||||
if (Settings.useLogging) {
|
||||
writeLog(message);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user