diff --git a/lua/dap-vscode-js/log.lua b/lua/dap-vscode-js/log.lua index 60426a5..cea906f 100644 --- a/lua/dap-vscode-js/log.lua +++ b/lua/dap-vscode-js/log.lua @@ -15,7 +15,7 @@ M.log = function(msg, level, reflect_depth) msg = M.msg_prefix .. msg - if config.log_file_level and level >= config.log_file_level and config.log_file_path then + if config.log_file_level and level >= config.log_console_level and config.log_file_path then local fp, err = io.open(config.log_file_path, "a") if not fp then print(err)