
18.3K
36
 BlameLog
 BlameLog
Blaming logs since 2023.
What's this?
This is a proof-of-concept mod, which patches Loggers to prepend method callers.
Wondering which mod printed this?
[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.
Well, now you know!
[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
This mod offers additional configuration via config/blamelog-pattern.txt, where you can set the pattern for the logger. Default is [{simpleClass}#{method}] {message}
- classInserts the full class name.
- simpleClassInserts the "simple" class name. (Without the package)
- methodInserts the method name.
- methodParamsInserts method parameters.
- methodReturnTypeInserts method return type.
Совместимость
Создатели
Детали
Лицензия:MIT
Опубликован:2 года назад
Обновлён:1 год назад