MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    MCL下 安装 mirai-logging 转接日志

    技术交流板块
    1
    1
    61
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cssxsh
      cssxsh last edited by cssxsh

      需要 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
          }
      
      1 Reply Last reply Reply Quote 3
      • 1 / 1
      • First post
        Last post
      Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact us