mirror of
https://github.com/Nan1t/NanoLimbo.git
synced 2025-07-09 11:30:13 +02:00
Fixed logging
This commit is contained in:
parent
f726a21e2c
commit
021d0a18a5
@ -64,7 +64,7 @@ public final class LimboConfig {
|
||||
|
||||
private InfoForwarding infoForwarding;
|
||||
private long readTimeout;
|
||||
private int debugLevel = 3;
|
||||
private int debugLevel;
|
||||
|
||||
private boolean useEpoll;
|
||||
private int bossGroupSize;
|
||||
|
@ -23,7 +23,7 @@ import java.time.format.DateTimeFormatter;
|
||||
public final class Logger {
|
||||
|
||||
private static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("hh:mm:ss");
|
||||
private static int debugLevel = Level.ERROR.getIndex();
|
||||
private static int debugLevel = Level.INFO.getIndex();
|
||||
|
||||
private Logger() {}
|
||||
|
||||
@ -78,8 +78,8 @@ public final class Logger {
|
||||
|
||||
ERROR("ERROR", 0),
|
||||
WARNING("WARNING", 1),
|
||||
INFO ("INFO", 2),
|
||||
DEBUG ("DEBUG", 3);
|
||||
INFO("INFO", 2),
|
||||
DEBUG("DEBUG", 3);
|
||||
|
||||
private final String display;
|
||||
private final int index;
|
||||
|
Loading…
x
Reference in New Issue
Block a user