Fix Windows mpv logging and add log export (#88)

This commit is contained in:
2026-05-26 00:31:38 -07:00
committed by GitHub
parent 43ebc7d371
commit 11c196821d
150 changed files with 2748 additions and 582 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ function M.create(ctx)
end
local function should_log(level)
local current = normalize_log_level(opts.log_level)
local current = normalize_log_level(os.getenv("SUBMINER_LOG_LEVEL"))
local target = normalize_log_level(level)
return LOG_LEVEL_PRIORITY[target] >= LOG_LEVEL_PRIORITY[current]
end