{"id":44148,"date":"2026-06-02T04:54:05","date_gmt":"2026-06-02T01:54:05","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/"},"modified":"2026-06-02T04:54:05","modified_gmt":"2026-06-02T01:54:05","slug":"colorfulloggerlib","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/","title":{"rendered":"Colorful Logger Lib"},"content":{"rendered":"<p>![banner](https:\/\/cdn.modrinth.com\/data\/cached_images\/1c11d867a553e023759f46a39c77d260d144cafb.png)<\/p>\n<p>[ko-fi]:https:\/\/ko-fi.com\/handsomesteve<br \/>\n[modrinth]:https:\/\/modrinth.com\/user\/handsome-steve<\/p>\n<p>[<img decoding=\"async\" src=\"https:\/\/maven.handsomesteve.net\/data\/images\/buttons\/github-buttons-kofi-trans.png?v15-08-2024\" width=\"185em\" \/>][ko-fi]<br \/>\n[<img decoding=\"async\" src=\"https:\/\/maven.handsomesteve.net\/data\/images\/buttons\/github-buttons-modrinth-trans.png?v15-08-2024\" width=\"185em\" \/>][modrinth]<\/p>\n<p>**Ever wanted to add some color to your LOGGER during the development of your minecraft mods in a simple, yet functional manner?**<\/p>\n<p>Well look no further, Handsome Steve has you covered! This simple library allows you to do just that by utilizing a wide range of pre-defined ANSI codes.<\/p>\n<p>**EDIT: Please prioritize the Handsome Steve Maven as this also serves the Jar&#8217;s Sources file.** Alternatively, the installation code below has been updated to reflect Modrinth Maven incase the maven is ever offline, apologies in for any inconveniences.<\/p>\n<p>## FAQ<br \/>\n**Q: Is this a mod?**<br \/>\n<br \/>Techinally, no. This is a library, so it&#8217;s only really used when developing a mod, however, it may be required as a dependency when the dependent mod is being installed on a client\/server depending on what platform the dependent mod is targeting and how the mod developer is utilising the library.<\/p>\n<p>**Q: Can I use this library as a dependency in my project?**<br \/>\n<br \/> Absolutely, go nuts!<\/p>\n<p>**Q: Does this library require a specific Fabric Version?**<br \/>\n<br \/> Nope, it&#8217;s now standalone, so as long as your modding platform uses `org.slf4j.Logger`, it will work regardless of the version.<\/p>\n<p>## Current Version<br \/>\nPlease note that the current version only has the `Logger.info()` method colorized, the rest will be added in future updates, such as `Logger.error()` etc.<\/p>\n<p>## Installation<br \/>\nAdd the required Maven Repositories to your `build.gradle` in the *repositories* section:<br \/>\n&#8220;`groovy<br \/>\n    repositories {<br \/>\n        \/\/ Initial Maven Repository<br \/>\n        \/\/ Priority<br \/>\n        exclusiveContent {<br \/>\n            forRepository {<br \/>\n                maven {<br \/>\n                    name = &#8220;Handsome Steve&#8217;s Maven&#8221;<br \/>\n                    url = &#8220;https:\/\/maven.handsomesteve.net\/releases&#8221;<br \/>\n                }<br \/>\n            }<br \/>\n            filter {<br \/>\n                includeGroup &#8220;net.handsomesteve&#8221;<br \/>\n            }<br \/>\n        }<\/p>\n<p>        \/\/ Modrinth Fallback Maven<br \/>\n        \/\/ Optional, but strongly recommended<br \/>\n        exclusiveContent {<br \/>\n            forRepository {<br \/>\n                maven {<br \/>\n                    name = &#8220;Modrinth&#8221;<br \/>\n                    url = &#8220;https:\/\/api.modrinth.com\/maven&#8221;<br \/>\n                }<br \/>\n            }<br \/>\n            filter {<br \/>\n                includeGroup &#8220;maven.modrinth&#8221;<br \/>\n            }<br \/>\n        }<br \/>\n    }<br \/>\n&#8220;`<\/p>\n<p>Add an implementation to your `build.gradle` in the dependencies section:<\/p>\n<p>&#8220;`groovy<br \/>\n    dependencies {<br \/>\n        \/\/Handsome Steve&#8217;s Colorful Logger \/\/ This automatically downloads the sources file as well.<br \/>\n        implementation include(&#8220;net.handsomesteve:colorfulloggerlib:${project.hs_colorful_logger}&#8221;)<\/p>\n<p>        \/\/ Modrinth Fallback (De-comment if preferred maven is down).<br \/>\n        \/\/implementation include (&#8220;maven.modrinth:colorfulloggerlib:${project.hs_colorful_logger}&#8221;)<br \/>\n        \/\/ SOURCES FILE NEEDS MANUAL DOWNLOAD, SEE BOTTOM OF PAGE (if using fallback maven).<br \/>\n    }<br \/>\n&#8220;`<\/p>\n<p>Add the version variable to your `gradle.properties` and replace `{version}` by the desired available library version of your choice:<br \/>\n&#8220;`groovy<br \/>\n    hs_colorful_logger={version}<br \/>\n&#8220;`<\/p>\n<p>## Implementation<br \/>\nCreate a `public static final` instance of the `ColorfulLogger` class. This instance will allow you to utilize the internal reference of `org.slf4j.Logger` from the `ColorfulLogger` class throughout your project.<\/p>\n<p>&#8220;`java<br \/>\n    import net.handsomesteve.api.ColorfulLogger;<br \/>\n    import net.handsomesteve.api.ansi.AnsiColorBackground;<br \/>\n    import net.handsomesteve.api.ansi.AnsiColorText;<\/p>\n<p>    public class FabricMod implements ModInitializer {<br \/>\n        public static final String MOD_ID = &#8220;your-mod-id&#8221;;<br \/>\n        public static final ColorfulLogger LOGGER = ColorfulLogger.getInstance(&#8220;your-mod-id&#8221;, false);<\/p>\n<p>       @Override<br \/>\n       public void onInitialize() {<br \/>\n           LOGGER.info(&#8220;>>> This is a plain message without any colouring&#8221;);<br \/>\n           LOGGER.info(&#8220;>>> I want some green text&#8221;, AnsiColorText.ANSI_BRIGHT_GREEN);<br \/>\n           LOGGER.info(&#8220;>>> I want some red text with a black background&#8221;, AnsiColorText.ANSI_BRIGHT_RED, AnsiColorBackground.ANSI_BLACK_BACK);<br \/>\n       }<br \/>\n    }<br \/>\n&#8220;`<\/p>\n<p>If required, the `Logger` can be interfaced with by calling it as follows:<\/p>\n<p>&#8220;`java<br \/>\n    LOGGER.getLogger(); \/\/ Returns the Logger to be interfaced with.<br \/>\n&#8220;`<\/p>\n<p>This will, however, not implement the ANSI color coding to your output if accessed this way.<\/p>\n<p>> **NOTE:** A `ColorfulLogger` variable can be declared anywhere in the project. It is recommended, however, ***to only ever declare this once as it is a singleton***.<br \/>\n> <\/p>\n<p>> To import the declared variable as a *static import* when referencing the variable:<br \/>\n> &#8220;`java<br \/>\n> import static com.packagename.FabricMod.LOGGER;<br \/>\n> &#8220;`<\/p>\n<p>> **ALTERNATIVELY:** `ColorfulLogger` can be instantiated anywhere in the project as follows if required after the singleton is declared:<br \/>\n> &#8220;`java<br \/>\n> public class References {<br \/>\n>       private static final ColorfulLogger LOGGER = ColorfulLogger.getInstance();<br \/>\n><br \/>\n>       public static ColorfulLogger getLogger() {<br \/>\n>           return LOGGER;<br \/>\n>       }<br \/>\n> }<br \/>\n> &#8220;`<br \/>\n> Then accessed:<br \/>\n> &#8220;`java<br \/>\n> import static com.package.References.getLogger;<br \/>\n><br \/>\n> public class MyClass {<br \/>\n>       References.getLogger();<br \/>\n> }<br \/>\n> &#8220;`<\/p>\n<p><\/p>\n<p>## Sources<br \/>\n### [Only if using Modrinth Maven as a dependency]<br \/>\n*<\/p>\n<p>There is a sources file available in the versions download.<\/p>\n<p>*<\/p>\n<p>This is a well define sources file where all variables, methods and constructors are well-defined as well as the class itself.<br \/>\nYou should download and add this file in the folder path:<\/p>\n<p>&#8220;`<br \/>\n.gradle\/loom-cache\/remapped_mods\/net_fabricmc_yarn{version}\/maven\/colorfulloggerlib\/{hs_colorful_logger_version}\/<br \/>\n&#8220;`<br \/>\n> **Note:** Replace curly-braced text with current versions etc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This library is designed to simplify a specific aspect of Minecraft Modding workflows by making it easy to add ANSI color to your Logger calls.<\/p>\n","protected":false},"featured_media":44149,"template":"","meta":{"_minecraft_slug":"colorfulloggerlib","_minecraft_project_id":"q4npqcjz","_minecraft_author":"handsome-steve","_minecraft_license":"CC0-1.0","_minecraft_downloads":327,"_minecraft_follows":4,"_minecraft_client_side":"unknown","_minecraft_server_side":"unknown","_minecraft_storage_type":"zip","_minecraft_archive_name":"colorfulloggerlib.zip","_minecraft_size_bytes":60434,"_minecraft_version_count":8,"_minecraft_updated_at":"2026-05-15T16:53:09.868140Z","_minecraft_date_created":"2024-07-07T23:57:46.814713Z","_minecraft_date_modified":"2024-08-24T11:53:20.795179Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/colorfulloggerlib","_minecraft_icon_attachment_id":44149,"_minecraft_imported_at":"2026-06-02T01:54:07+00:00","_minecraft_import_hash":"017eb9041eb5d83ec8d4f109c0418987","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,873],"mod_loader":[99],"minecraft_version":[49,50,51,52,53,54,55,56,57,58,59,36,60,93,94,101,102,62,37,73,74,38,78,79],"class_list":["post-44148","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-library","mod_loader-fabric","minecraft_version-1-17","minecraft_version-1-17-1","minecraft_version-1-18","minecraft_version-1-18-1","minecraft_version-1-18-2","minecraft_version-1-19","minecraft_version-1-19-1","minecraft_version-1-19-2","minecraft_version-1-19-3","minecraft_version-1-19-4","minecraft_version-1-20","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3","minecraft_version-1-20-4","minecraft_version-1-20-5","minecraft_version-1-20-6","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Colorful Logger Lib - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Colorful Logger Lib - Minecraft\" \/>\n<meta property=\"og:description\" content=\"This library is designed to simplify a specific aspect of Minecraft Modding workflows by making it easy to add ANSI color to your Logger calls.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta property=\"og:image\" content=\"https:\/\/maven.handsomesteve.net\/data\/images\/buttons\/github-buttons-kofi-trans.png?v15-08-2024\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/colorfulloggerlib\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/colorfulloggerlib\\\/\",\"name\":\"Colorful Logger Lib - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/colorfulloggerlib\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/colorfulloggerlib\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/colorfulloggerlib-icon-6e5afe30d5c2932250d0ed3ca88b4eac45950751_96.webp\",\"datePublished\":\"2026-06-02T01:54:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/colorfulloggerlib\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/colorfulloggerlib\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/colorfulloggerlib\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/colorfulloggerlib-icon-6e5afe30d5c2932250d0ed3ca88b4eac45950751_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/colorfulloggerlib-icon-6e5afe30d5c2932250d0ed3ca88b4eac45950751_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/colorfulloggerlib\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Colorful Logger Lib\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Colorful Logger Lib - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/","og_locale":"en_US","og_type":"article","og_title":"Colorful Logger Lib - Minecraft","og_description":"This library is designed to simplify a specific aspect of Minecraft Modding workflows by making it easy to add ANSI color to your Logger calls.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/","og_site_name":"Minecraft","og_image":[{"url":"https:\/\/maven.handsomesteve.net\/data\/images\/buttons\/github-buttons-kofi-trans.png?v15-08-2024","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/","name":"Colorful Logger Lib - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/colorfulloggerlib-icon-6e5afe30d5c2932250d0ed3ca88b4eac45950751_96.webp","datePublished":"2026-06-02T01:54:05+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/colorfulloggerlib-icon-6e5afe30d5c2932250d0ed3ca88b4eac45950751_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/colorfulloggerlib-icon-6e5afe30d5c2932250d0ed3ca88b4eac45950751_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/colorfulloggerlib\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Colorful Logger Lib"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/44148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/44149"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=44148"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=44148"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=44148"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=44148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}