MCL下 安装 mirai-logging 转接日志
-
需要
2.0.0+
版本的mcl
https://github.com/mamoe/mirai/tree/dev/logging使用指令
./mcl --update-package net.mamoe:mirai-logging-log4j2 --channel maven-stable --version 2.11.0
或者直接编辑 config.json,添加
"net.mamoe:mirai-logging-log4j2": { "channel": "maven-stable", "version": "2.11.0", "type": "libs", "versionLocked": false }