Made logger static. (PMD)
This commit is contained in:
parent
ae02320478
commit
8e78731924
1 changed files with 2 additions and 2 deletions
|
@ -165,6 +165,8 @@ public class Mobibot extends PircBot {
|
||||||
+ System.getProperty("java.vm.info")
|
+ System.getProperty("java.vm.info")
|
||||||
+ ')'
|
+ ')'
|
||||||
};
|
};
|
||||||
|
// The logger.
|
||||||
|
private static final Logger logger = LogManager.getLogger(Mobibot.class);
|
||||||
// The commands list.
|
// The commands list.
|
||||||
private final List<String> commandsList = new ArrayList<>();
|
private final List<String> commandsList = new ArrayList<>();
|
||||||
// The entries array.
|
// The entries array.
|
||||||
|
@ -179,8 +181,6 @@ public class Mobibot extends PircBot {
|
||||||
private final int ircPort;
|
private final int ircPort;
|
||||||
// The IRC server.
|
// The IRC server.
|
||||||
private final String ircServer;
|
private final String ircServer;
|
||||||
// The logger.
|
|
||||||
private final Logger logger = LogManager.getLogger(Mobibot.class);
|
|
||||||
// The logger default level.
|
// The logger default level.
|
||||||
private final Level loggerLevel;
|
private final Level loggerLevel;
|
||||||
// The log directory.
|
// The log directory.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue