Skip to content

Commit 4c98663

Browse files
committed
feat: add log file path to :checkhealth
1 parent b6fe6bb commit 4c98663

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lua/copilot/health.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
local M = {}
22

3-
local api = require("copilot.api")
43
local auth = require("copilot.auth")
54
local c = require("copilot.client")
65
local config = require("copilot.config")
@@ -88,6 +87,11 @@ function M.check()
8887
info("Panel disabled in configuration")
8988
info("Enable with `panel = { enabled = true }` in setup()")
9089
end
90+
91+
local logger_config = config.logger
92+
if logger_config then
93+
info("Log file: " .. (logger_config.file or "not set"))
94+
end
9195
end
9296

9397
return M

0 commit comments

Comments
 (0)