change _createLogger to createLogger

This commit is contained in:
2022-03-04 23:39:20 +01:00
parent 96821cfef6
commit 30b6ec6c79
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ module.exports = class GenericBot {
constructor(botConfig) {
this.botConfig = botConfig;
this.streamHandler = new StreamHandler(streamConfigCreator.createStreamConfig(botConfig));
this.logger = loggerCreator._createLogger(botConfig);
this.logger = loggerCreator.createLogger(botConfig);
}
async inboxLoop() {
+1 -1
View File
@@ -46,4 +46,4 @@ function _createLogger(botConfig){
return logger;
}
module.exports = {_createLogger};
module.exports = {createLogger: _createLogger};