Skip to content

Commit

Permalink
Update myLogger.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NebzHB authored Jan 29, 2024
1 parent a41d1fc commit 1349707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/myLogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,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;
}
Expand Down

0 comments on commit 1349707

Please sign in to comment.