#
BlameLog
> 自2023年起,为日志追责。
这是一个概念验证模组,它通过修补日志记录器,在日志信息前添加方法调用者的信息。
想知道是哪个模组打印了这条日志吗?
[02:16:21] [Render thread/INFO]: Trying to read config file...
[02:16:21] [Render thread/INFO]: A config file was found, loading it..
[02:16:21] [Render thread/INFO]: Successfully loaded config file.
现在,你知道了!
[02:16:21] [Render thread/INFO]: [me.luligabi.noindium.NoIndium#createConfig] Trying to read config file...
[02:16:21] [Render thread/INFO]: [me.luligabi.noindium.NoIndium#createConfig] A config file was found, loading it..
[02:16:21] [Render thread/INFO]: [me.luligabi.noindium.NoIndium#createConfig] Successfully loaded config file.
本模组通过 config/blamelog-pattern.txt 文件提供额外的配置选项,你可以在其中设置日志的输出格式。默认格式为 [{simpleClass}#{method}] {message}
class 插入完整的类名。simpleClass 插入“简单”类名。(不包含包名)method 插入方法名。methodParams 插入方法参数。methodReturnType 插入方法返回类型。友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作
历史访问人数:51,419 | 历史访问人次:134,844
今日访问人数:2,599 | 今日访问人次:2,781
昨日访问人数:21,836 | 昨日访问人次:27,080
Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.
❤ Powered by GermMC 京ICP备17023959号-6