Forgot one

This commit is contained in:
Cristian Le 2021-07-30 17:47:01 +09:00
parent a477d10d29
commit 855966e547
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ export default class Client {
set_userID(ID) {
this.userID = ID
if (this.userID) {
this.log = require("loglevel").getLogger(`API/${this.userID}/${this.connID}`)
this.log = logger.getLogger(`API/${this.userID}/${this.connID}`)
this.log.setLevel(logger.getLogger(`API/${this.connID}`).getLevel())
}
}