From 855966e547dc8c2cd83c86a04edf9d86ca753146 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Fri, 30 Jul 2021 17:47:01 +0900 Subject: [PATCH] Forgot one --- puppet/src/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet/src/client.js b/puppet/src/client.js index 9840f36..626fe75 100644 --- a/puppet/src/client.js +++ b/puppet/src/client.js @@ -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()) } }