summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/ui/log.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/ui/log.lua b/xmake/core/ui/log.lua
index e2922d3ae..a89073119 100644
--- a/xmake/core/ui/log.lua
+++ b/xmake/core/ui/log.lua
@@ -38,7 +38,7 @@ local log = log or (function ()
end
-- return module: log
- local instance = require("base/log")
+ local instance = table.inherit(require("base/log"))
if instance then
instance._FILE = nil
instance._LOGFILE = path.join(logdir, "ui.log")