Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
BlameLog

BlameLog

Prepends method callers to log messages

16.0k
37
Utility
BlameLog has been archived. BlameLog will not receive any further updates unless the author decides to unarchive the project.
AboutGalleryChangelogVersions

BlameLog

Blaming logs since 2023.

Follow on Bluesky

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}

  • class Inserts the full class name.
  • simpleClass Inserts the "simple" class name. (Without the package)
  • method Inserts the method name.
  • methodParams Inserts method parameters.
  • methodReturnType Inserts method return type.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x
1.18.x

Platforms

Fabric

Supported environments

Client-side
Server-side
Client and server (optional)

Links

Report issues View source

Creators

constellation
constellationOrganization

melontini
melontini Author

Details

Licensed MIT
Published 2 years ago
Updated 10 months ago

Modrinth is open source.

main@58dac27

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.