From 2c9b66abaa72fcd988e2f8224a88553f9c0cff95 Mon Sep 17 00:00:00 2001 From: Nebz <28622481+NebzHB@users.noreply.github.com> Date: Mon, 29 Jan 2024 15:45:17 +0100 Subject: [PATCH] Update myLogger.js --- lib/myLogger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/myLogger.js b/lib/myLogger.js index 6a7e9ea..e145032 100644 --- a/lib/myLogger.js +++ b/lib/myLogger.js @@ -61,7 +61,7 @@ function myLogger(debugLevel,logger,creationLogPath) { if(!this.creationPassed) { fs.writeFileSync(creationLogPath+startLog, '['+(new Date().toISOString())+'] '+msg+"\n", {flag: 'a'}); - if(msg && msg.includes("Homebridge est démarré")) { + if(msg && msg.includes("homebridge est démarré")) { fs.writeFileSync(creationLogPath+startLog, '['+(new Date().toISOString())+"] ----Fin du log de création----\n", {flag: 'a'}); this.creationPassed = true; }