

BlameLog
Tracking the guilty since 2023.
What is this?
BlameLog is an experimental mod that modifies Minecraft's logging system by adding information about calling methods before each log message.
Tired of guessing which mod printed a particular message? Look at the standard log example:
[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.
With BlameLog, the situation changes dramatically - now you know exactly the source of each message:
[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.
Configuration
The mod provides flexible configuration options through the config/blamelog-pattern.txt
file, where you can set your own log formatting template. The default template is [{simpleClass}#{method}] {message}
Available configuration parameters:
class
- full class namesimpleClass
- simplified class name (without package)method
- method namemethodParams
- method parametersmethodReturnType
- method return type