diff --git a/src/index.js b/src/index.js
index 8046a93..1c6f430 100644
--- a/src/index.js
+++ b/src/index.js
@@ -10,7 +10,7 @@ const nodemailer = require('nodemailer')
const baseLogger = new reggol("GenshinCloudPlayHelper")
var logContent = ``
-global.log = {
+const log = {
info(content){
logContent += `[info] ${content}
`
baseLogger.info(content)