Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
因为引用了springboot,不想同时有两种日志,请问如何关闭日志呢?我尝试了还是不行,以下是我的代码: MiraiLogger logger = bot.getLogger(); MiraiLoggerWithSwitch withSwitch = new MiraiLoggerWithSwitch(logger,false); withSwitch.disable(); 这样仍然无法关闭
不建议关闭日志除非不想获得任何技术支持