Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法访问配置定义的应用程序错误级别?
像这样的东西forge.logging.level应该非常适合以编程方式处理某些情况,例如调试(即,加载 Catalyst 库/启用调试等,而无需手动更改文件,而是依赖于真正的错误级别)
forge.logging.level
你应该可以看到forge.config.modules.logging.level。
forge.config.modules.logging.level